/assetmate-cli

A CLI helper for working with XCode assets package

Primary LanguageSwiftMIT LicenseMIT

AssetMate

A couple of helpful tools for a working with assets in the XCode project.

identify

Find a pretty name for a HEX color using www.thecolorapi.com API.

add-color

Use name for a color from previous command and add it to the Assets.xcassets folder.

inspect

Search for a given color in the Assets.xcassets folder and print its name if founded.

add-image

Add a new pdf or svg (optionally zip archived) resource to the Assets.xcassets folder.

convert-alpha

Convert a foreground color, mixed with a background, using a given alpha value through linear interpolation. This process is particularly useful when designers utilize an alpha value with black colors for color adjustments.

group

Group all color assets in the separate folder.