Python’s argparse
library - Easy method to accept and process command line arguments
Part of Python’s standard library
When echo
is provided as the positional argument, it acts as an argument string. In the command line, when we specify the argument for echo
(it can be anything), it will grab that string and add it to the argument namespace. The same string can then be accessed through args
as args.echo