3 ms·
Since the landing page is not the clearest, you can think of this as an argparse equivalent for Bash. You provide a YAML file listing commands, subcommands, ar
by iamjackg 5y ago
Since the landing page is not the clearest, you can think of this as an argparse equivalent for Bash.
You provide a YAML file listing commands, subcommands, arguments, and flags, and it automatically generates a Bash script that can parse and validate them, provide help messages, and run your code for each command.
It also lets you keep the actual code for each command and subcommand in separate files, which are merged together into one distributable Bash script at generation time.
It's basically a templating system to auto-generate argument parsing so you don't have to solve that again or deal with things like optparse.
- mxuribe 5y agoHave you considered submitting your 3 sentences to the project?? Because in the mere moments that it took me to read your 3 sentences i got the gist of what this does instantly! Thanks for providing this, and please do consider submitting this so that others can learn from you and benefit the creator of their app.!