https://github.com/dkunin/optimizilla-cli
Script to utilize optmimizilla and avoid the pesky ui
https://github.com/dkunin/optimizilla-cli
Last synced: 12 months ago
JSON representation
Script to utilize optmimizilla and avoid the pesky ui
- Host: GitHub
- URL: https://github.com/dkunin/optimizilla-cli
- Owner: DKunin
- Created: 2017-06-14T10:09:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-22T13:59:18.000Z (over 7 years ago)
- Last Synced: 2024-09-24T14:51:16.678Z (almost 2 years ago)
- Language: JavaScript
- Size: 515 KB
- Stars: 28
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Script to utilize optimizilla and avoid the pesky ui
Simple node script, used via cli - to upload and process images via [http://optimizilla.com/](http://optimizilla.com/)
[](https://nodei.co/npm/optimizilla-cli/)
## Install
npm i optimizilla-cli -g
## Usage
optimizilla [FILENAME]
Options
--output, -o Destination of the optimized file
--replace, -r Replace the original file
--dry, -d Dry run, upload, optimize and print out links
Examples
$ optimizilla xpto.jpg --output ./ --replace
## RoadMap
- [x] Multiple files upload
- [x] Seperate into helpers
- [ ] Better error checking
- [x] Options
- [x] Help text
- [ ] Tests
## Contribute
PRs accepted.
## Contributors
- [t100n](https://github.com/t100n)
## License
MIT © Dmitri Kunin