CLI subcommands with precise help output
suggest changeIntroduction
Different ways to create subcommands like in hg or svn with the exact command line interface and help output as shown in Remarks section.
http://stackoverflow.com/documentation/python/1382/parsing-command-line-arguments covers broader topic of arguments parsing.
Remarks
Different ways to create subcommands like in hg or svn with the command line interface shown in the help message:
usage: sub <command>
commands:
status - show status
list - print list
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents