A wrapper for getopt(1) which simulates the argp_parse(3) for bash using option descriptions written in a flat file format or XML. Automatic help and man mpage production is provided as well as generating the code for getopt(1). Requires bash-3+. See also argp.c which is a much faster version of this in case speed is ever an issue. Note that argp.sh deprecates and replaces the older 'process_getopt' project.
Be the first to post a review of argp.sh!