cmdarg
cmdarg copied to clipboard
A bash library to make argument parsing far less troublesome
Originally this file contain both white space and \t for indent, should it be cleaner to keep only white space?
Hi, I have just question... Am I able to define default value for array parameter? If so, how can I do that, please? Thank you.
Bash version: `GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)` I cloned and ran `make install`, ran into the following error: ``` bash: gitversion.sh: command not found bash: gitversion.sh: command not found mkdir...
Explicitly assigned positional arguments in some functions to named variables, defaulting to an empty string if undefined. This aides readability in some places, and prevents errors with omission of optional...
Hi, I've been looking for a parsing library for a script I'm writing that takes a command as an argument. This command can accept its only command line flags ....
Consider the scenario where a tool has multiple 'subcommands', and in order to enable different sets of options for each 'subcommand', the author makes a cludge like this: ``` cmdarg_usage_recursing=0...