The argparse module in Python helps create a program in a command-line
What is parser Add_argument?
The argparse module makes it easy to write user-friendly command-line interfaces. It parses the defined arguments from the sys. A parser is created with ArgumentParser and a new parameter is added with add_argument . … Arguments can be optional, required, or positional.
What does Store_true mean?
store_true / store_false : Save the appropriate boolean value. store_const : Save a value defined as part of the argument specification, rather than a value that comes from the arguments being parsed. This is typically used to implement command line flags that aren’t booleans. append : Save the value to a list.