Re:Bash code generator for command-line arguments
by OJFord on Friday October 02, 2020 @09:56AM
(#24662620)
Docopt exists (now, think it was originally python) for many languages including bash [0] (or perhaps it's POSIX, haven't checked).
I like it too, not least because I can use ~the same thing in multiple languages and not have to remind myself how the arg parser for language X works each time.
I like it too, not least because I can use ~the same thing in multiple languages and not have to remind myself how the arg parser for language X works each time.
[0] - https://github.com/docopt/docopts