Advanced Subcommand

usage: advanced_subcommand.py {foo|run foo|run bar|baz} [--verbose [VERBOSE]] [--help]

Subcommands

foo

Print foo

run foo

Run foo

run bar

Print bar

baz

Print baz

Optional arguments

--verbose [VERBOSE], -v [VERBOSE]

Increase logging verbosity (can specify multiple times)

--help, -h

Show this help message and exit

Subcommands

Subcommand: foo

Print foo

usage: advanced_subcommand.py foo [--verbose [VERBOSE]] [--help]

Optional arguments

--verbose [VERBOSE], -v [VERBOSE]

Increase logging verbosity (can specify multiple times)

--help, -h

Show this help message and exit

Subcommand: run foo

Run foo

usage: advanced_subcommand.py run foo [--verbose [VERBOSE]] [--help]

Optional arguments

--verbose [VERBOSE], -v [VERBOSE]

Increase logging verbosity (can specify multiple times)

--help, -h

Show this help message and exit

Subcommand: run bar

Print bar

usage: advanced_subcommand.py run bar [--verbose [VERBOSE]] [--help]

Optional arguments

--verbose [VERBOSE], -v [VERBOSE]

Increase logging verbosity (can specify multiple times)

--help, -h

Show this help message and exit

Subcommand: baz

Print baz

usage: advanced_subcommand.py baz [--help]

Optional arguments

--help, -h

Show this help message and exit