docopts
bashly
docopts | bashly | |
---|---|---|
4 | 14 | |
491 | 1,933 | |
0.6% | - | |
0.0 | 9.4 | |
4 months ago | 21 days ago | |
Shell | Ruby | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docopts
-
Argbash – Bash Argument Parsing Code Generator
Huh, it uses M4 to build its DSL, how quaint.
I wish there were more projects on the other side of the spectrum: take the script's self-reported usage string, à la docopt [0], and derive argument-parsing code from that. After all, we have GPT-4 now.
[0] https://github.com/docopt/docopts
- Whats the easiest way to configure argument parsing in bash
- Argc – A handy way to handle sh/bash CLI parameters
- jetopt: a dead simple wrapper around getopt you always dreamed of!
bashly
-
Ask HN: Any tool for managing large and variable command lines?
It's heavily inspired by ArgBash (https://argbash.dev/) and uses parts of bashly (https://github.com/DannyBen/bashly/) which are very similar tools :)
- Bashly: Command line application to generate feature-rich bash CLI tools
- Modules, frameworks, libararies
-
What about reviewing Bashly tool?
Here it's site.
- Argbash – Bash Argument Parsing Code Generator
-
How do you manage your local environment?
To remove most of the manual things you have to do to make an environment operational, we also use a bash layer on top of Docker. Takes care of initializing of your database, API or any other services for you and puts multiple docker commands under much simpler ones. So even a junior with minimal experience can run it. I use bashly to generate the bash scripts, recommend that useful generator.
- Bashly is a command line application (written in Ruby) that lets you generate feature-rich bash command line tools.
- GitHub - DannyBen/bashly: Bash command line framework and CLI generator
- Bashly – Create beautiful bash scripts from simple YAML configuration
What are some alternatives?
argbash - Bash argument parsing code generator
ShellCheck - ShellCheck, a static analysis tool for shell scripts
bash-argsparse - An high level argument parsing library for bash
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
sh - Python process launching
fastlane - 🚀 The easiest way to automate building and releasing your iOS and Android apps
shflags - shFlags is a port of the Google gflags library for Unix shell.
ngs - Next Generation Shell (NGS)
bash-boilerplate - A collection of Bash scripts for creating safe and useful command line programs.
hofmod-cli - Hofstadter generator for Golang CLIs
argc - A Bash CLI framework, also a Bash-based command runner.
run - Task runner that helps you easily manage and invoke small scripts and wrappers