@pradoguilherme/compresscli
v0.0.13
Published
The best way to compress your images at once, using a complete CLI that identifies whether it is a directory with several images, or just one image. Enjoy!
Downloads
12
Maintainers
Readme
CompressCLI
📟 Preview
⚡ Install
- For Mac, Linux and Windows:
npm install -g @pradoguilherme/compresscli
or
yarn add -g @pradoguilherme/compresscli
🚀 Getting Started
Usage: ccpres <cmd> [args]
Commands:
ccpres list Show list of images in the folder
ccpres compress Compress the image and save in the same folder but with a prefix on the filename
ccpres quota Show the current quota
ccpres help Show helper
ccpres version Show version
Options:
--help Show help
--version Show version
-f The filename with the entire directory
-d The directory path with the files
When the compression is finished, a "compressed" folder is created in the original file directory and the new compressed file will be saved on this page.
📝 License
This project is licensed under the MIT License - see the LICENSE.md file for details.
🎉 Contributing
- Fork the repository
- Create a branch with your feature:
git checkout -b my-feature
- Commit your changes:
git commit -m 'feat: my feature'
- Push to the branch:
git push origin my-feature
- Create new pull request for this repository.
🖤 Thanks
Made with ❤️ by Guilherme Prado using the brilhant api from TinyPNG.