Example project demonstrating how to create CLI tools in Bash
- clone this repo
cd
into project folder
- file scanner:
./bash-example.sh scan-files 20
(scans 20 largest files, prints log) - log processor:
./bash-example.sh process-logs
(process logs, create .yaml / .tar.gz) - image downloader:
./bash-example.sh get-photo
(DL NASA Picture of the Day .jpg / .json)
A tutorial for this example is available here on Medium.
Feedback is welcome, in addition to bugfixes or corrections via PR.
A future project is planned for a Bash scripting framework, using components from this example project.
To contribute to the future Bash library, follow @kennethreilly / @8_bit_hacker for updates.
This repo is provided as a template under the MIT license, available for all personal, commercial, and educational use. Good luck hacking on Bash! 😎