https://github.com/dimitrinicolas/lepto-cli
Lepto CLI
https://github.com/dimitrinicolas/lepto-cli
cli lepto nodejs
Last synced: 12 months ago
JSON representation
Lepto CLI
- Host: GitHub
- URL: https://github.com/dimitrinicolas/lepto-cli
- Owner: dimitrinicolas
- License: mit
- Created: 2018-06-11T12:37:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-03-08T00:33:56.000Z (over 5 years ago)
- Last Synced: 2025-05-16T02:38:56.023Z (about 1 year ago)
- Topics: cli, lepto, nodejs
- Language: JavaScript
- Homepage: https://github.com/leptojs/lepto
- Size: 15.9 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# lepto-cli [![Build Status][travis badge]][travis link]
```shell
$ npm i -g lepto-cli
```
To 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 file
```
## Contributing
Test with fictures assets
```shell
$ cd fixtures/
$ ../bin/lepto
```
Test package
```shell
$ npm test
```
## Related
- [lepto][lepto] - Automated image Editing, Optimization and Analysis via CLI
and a web interface
## License
This project is licensed under the [MIT license](LICENSE).
[travis badge]: https://travis-ci.org/leptojs/lepto-cli.svg?branch=master
[travis link]: https://travis-ci.org/leptojs/lepto-cli
[lepto]: https://github.com/leptojs/lepto