$ npm install -D fontello-cli-but-better
This package is a younger brother of fontello-cli. It was created to overcome problems which fontello-cli delivers. Main one was the inability to save config.json file with command line to whatever folder we choose.
There are two commands available
$ fontello-cli-but-better open --session ./assets --config ./assets/config.json
Where:
* --session - path where temp session file will be created, if it already exists, will be used to retrieve last session
* --config - path to fontello config file
$ fontello-cli-but-better install --session ./assets --config ./assets/config.json --css ./assets/css --font ./assets/font
Where:
* --session - path where temp session file will be created, if it already exists, will be used to retrieve last session
* --config - path to fontello config file
* --css - path to folder where fontello css files will be saved
* --font - path to folder where fontello font files will be saved
Base case scenario will be:
- Get your config file from fontello.
- Place it whatever you want in your project
- Create new fontello session with
fontello-cli-but-better open (provide options)
- Change/add/rename/delete your icons, hit save
- Save session with
fontello-cli-but-better install (provide options)