Argparse provides subparsers. They let you easily handle subcommands. What is a
subcommand? A command that is specified as an argument for a command. A typical
example is Git, where you have subcommands like git status
, git commit
and
so on.
One common and very convenient way to implement subcommands …