I have great pleasure when using docopt in Python.
I see docopts is ‘the same’ implementation but for shell, have never tried it though.
==== docopt helps you:
- define the interface for your command-line app, and - automatically generate a parser for it. ====