sugar icon indicating copy to clipboard operation
sugar copied to clipboard

🍬 Something sweet that makes adding pods easier

Sugar 🍬

Swift 4.0 @nugmanoff

Trivial command-line tool build in educational purposes & for personal use.
Allows to easily add pod entry to CocoaPods Podfile without any need to open it with text editor.

Installation

The easiest way to install Sugar is using Swift Package Manager:

$ git clone [email protected]:nugmanoff/sugar.git
$ cd sugar
$ swift build -c release -Xswiftc -static-stdlib
$ cp -f .build/release/sugar /usr/local/bin/sugar

Usage

Without any specifications (have to be executed in the directory where Podfile is located).

sugar add Alamofire

Specifies particular version of pod to install.

sugar add Alamofire -v 4.0

Specifies path of Podfile to update.

sugar add Alamofire -p /Users/Aidar/Workspace/CLI/sugar

Dependencies

Help, feedback or suggestions?

Feel free to contact me on Telegram for discussions, news & announcements about Sugar & other projects.