Argparse: adding sub commands to your command line arguments

Use argparse to add support for command line arguments to your program. Argparse supports adding sub commands to a primary command. It also supports making your subcommands mandatory or optional. Let me jump into example & explain.