SkillAgentSearch skills...

Cookie

A command line cookie cutter for your app icons and Xcode assets

Install / Use

/learn @jeanetienne/Cookie
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

🍪 Cookie

GitHub license GitHub release

A command line cookie cutter for your Xcode app icons.

Usage

Using cookie is as simple as:

cookie -i my-app-icon.png 

with this command, cookie detects the asset sizes your project needs by reading the Contents.json file inside your AppIcon.appiconset, generates all the sizes from the source my-app-icon.png and update the Contents.json accordingly.

Options

  • -i or --image: Path to the input image.
  • -p or --parent: Path to the parent folder in which to look for an .appiconset folder. Defaults to current path.
  • -o, --output: Path to the output folder. If no path is given, images are placed in the .appiconset folder and the Contents.json file is updated accordingly.

Installation

  1. Clone or download this repository
  2. Open and build the project with Xcode
  3. Move or copy the produced binary (found under the project's DerivedData Build/Products/Debug folder) to usr/local/bin

License

Cookie is released under the MIT License.

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated2y ago
Forks0

Languages

Swift

Security Score

70/100

Audited on Sep 9, 2023

No findings