Basic Subcommand

usage: basic_subcommand.py {foo|bar} [--help]

Subcommands

foo

Print foo

bar

Print bar

Optional arguments

--help, -h

Show this help message and exit

Subcommands

Subcommand: foo

Print foo

usage: basic_subcommand.py foo [--help]

Optional arguments

--help, -h

Show this help message and exit

Subcommand: bar

Print bar

usage: basic_subcommand.py bar [--help]

Optional arguments

--help, -h

Show this help message and exit