CLI subcommands with precise help output

suggest change

Introduction

Different ways to create subcommands like in hg or svn with the exact command line interface and help output as shown in the Remarks section.

http://stackoverflow.com/documentation/python/1382/parsing-command-line-arguments covers the broader topic of argument 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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents