Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mipmip/runme.sh
RUNME.sh is a tiny toolkit for creating bash cli utilities fast, simple and easy.
https://github.com/mipmip/runme.sh
bash boilerplate cli shell
Last synced: 22 days ago
JSON representation
RUNME.sh is a tiny toolkit for creating bash cli utilities fast, simple and easy.
- Host: GitHub
- URL: https://github.com/mipmip/runme.sh
- Owner: mipmip
- License: mit
- Created: 2019-10-08T14:02:25.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T11:17:11.000Z (over 1 year ago)
- Last Synced: 2023-03-23T01:41:50.659Z (over 1 year ago)
- Topics: bash, boilerplate, cli, shell
- Language: Shell
- Homepage:
- Size: 25.4 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RUNME.sh
## Description
RUNME.sh is a suckless single-file boilerplate for creating bash cli utilities fast, simple and easy.
- Just one dependency: a sh compatible shell.
- Boilerplate has only 11 lines of code, including comments.
- Little bash knowledge needed
- Makes "USAGE:" banners automatically
- Drop in solution for cleaning up collections of scripts
- Perfect for self documenting small projects> RUNME.sh is so simple you could have written it yourself.
### Why I wrote RUNME.sh
I often use `make` or `rake` for small projects. This is really overkill as I only
need to run some tasks and add some quick instructions for my later self.
RUNME.sh does exacly the same.## Quickstart
* Run this command in you project folder
```bash
curl -O https://raw.githubusercontent.com/mipmip/runme.sh/master/RUNME.sh && chmod +x RUNME.sh
```* Edit RUNME.sh, see how the demo command is works, and add your own commands
* Run it...```bash
$ ./RUNME.shUsage: ./RUNME.sh command
Commands:
demo this command is for explaining how run-me works
```## Contributing
If you would like to help, please send pull request of submit an issue.
## License
Released under the MIT License. See the LICENSE file for further details.