xcode-tool

module
v0.0.0-...-3922f3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2026 License: MIT

README

xcode-tool

A command line tool for managing Xcode projects, including asset management and color conversion.

Usage

Build
make build
Install
go install github.com/tbxark/xcode-tool/cmd/xct@latest
CLI
Rename Assets

Rename asset files in .imageset directories to match the asset name.

xct rename-asset ./path/to/project/Assets.xcassets
Clean Assets

Find and report unused image assets by scanning Swift files.

xct clean-asset ./path/to/project/Sources
Convert Hex Color

Convert a hex color string to UIColor format.

xct hex 232323
xct hex '#FF5733'
Replace Hex Colors

Replace UIColor(hexString:) calls with UIColor(red:green:blue:alpha:) in Swift files.

xct replace-hex ./path/to/project

License

xcode-tool is licensed under the MIT License. See the LICENSE file for more details.

Directories

Path Synopsis
cmd
xct command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL