1.2.0 • Published 7 years ago
lepto-cli v1.2.0
lepto-cli 
$ npm i -g lepto-cliTo get started with lepto, run lepto setup, be sure to have a package.json,
if not, create it with npm init or lepto-cli will create it.
Use --config (-c) argument to give your lepto config path.
Usage: lepto [options] [command]
Options:
-V, --version output the version number
-i, --input [dir] Set input directory
-o, --output [dir] Set output directory
-c, --config [file] Path to a config file (default: lepto.config.json)
-d --dataOutput [file] Set the output json file for the data (eg: ./output/data.json)
-w, --watch Watch for files changes
-l, --logLevel [0-3] Set the log level from 0 (silent) to 3 (all informations)
-p, --logPrefix [prefix] Set a prefix for the log, eg: lepto
--watchConfig Watch for config file change
--followUnlink Remove files in the output when they are removed from the input directory
-h, --help output usage information
Commands:
setup Create a lepto config fileContributing
Test with fictures assets
$ cd fixtures/
$ ../bin/leptoTest package
$ npm testRelated
- lepto - Automated image Editing, Optimization and Analysis via CLI and a web interface
License
This project is licensed under the MIT license.