Skip to content

xcr (Xcode Carpenter) v0.1.0

Latest
Compare
Choose a tag to compare
@serkanaltuntas serkanaltuntas released this 02 Nov 13:36

xcr (Xcode Carpenter) v0.1.0

This is the initial release of xcr (Xcode Carpenter), a powerful command-line tool designed to simplify the process of renaming Xcode projects.

Features

Core Functionality

  • Project Renaming: Comprehensive tool for renaming Xcode projects
    • Automatically handles file renaming and content updates
    • Supports bundle identifier modifications
    • Creates new project directory with renamed files
    • Validates .xcodeproj file presence

Technical Implementation

  • Robust error handling with anyhow
  • Command-line interface using clap
  • Structured logging system with log4rs
  • File pattern matching via glob
  • Timestamp formatting with chrono

Documentation

  • Quick Start Guide: Added comprehensive setup and usage documentation
  • Contributing Guidelines: Detailed documentation for contributors including:
    • Setup instructions
    • Coding standards
    • Commit message conventions
    • Pull request submission process
    • Release procedures
  • Project Documentation:
    • Updated README with correct CLI command examples (xcr)
    • Clear project description in package metadata
    • MIT License included

Installation & Usage

Basic usage example:

xcr /path/to/project NewProjectName

With bundle identifier:

xcr /path/to/project NewProjectName --bundle-id com.example.newproject

Technical Details

Dependencies

  • anyhow: Error handling
  • clap: CLI argument parsing
  • log4rs: Logging framework
  • glob: File pattern matching
  • chrono: Time formatting

Project Structure

  • CLI interface via Cli struct
  • Configuration management through XcrConfig
  • Core functionality in Xcr struct

License

Released under the MIT License.

Contributors

  • Serkan Altuntaş (@serkanaltuntas) - Initial release and core functionality