The Parser

The command-line parser module.

This module contains the class Parser, that can be used to parse a command.

class make_to_batch.parser.Parser(command: str)

A command parser.

This class parses a command and exposes the program called, its arguments and its options.

program

The name of the program started by the command.

Type:str
options

The list of options passed to the program.

Type:List[str]
parameters

The list of parameters passed to the program.

Type:List[str]