functions.arguments.parse_input_arguments

parse_input_arguments(program, description)[source]

Parse the input arguments for a given program.

Each program may be run with a given set of flags. This function parses those command-line arguments and returns them as a dictionary.

Parameters:
  • program (string) – The name of the program.

  • description (string) – The description of the program.

Returns:

args – The dictionary of input arguments.

Return type:

dict