class documentation

class CommandParser(ArgumentParser):

View In Hierarchy

Customized ArgumentParser class to improve some error messages and prevent SystemExit in several occasions, as SystemExit is unacceptable when a command is called programmatically.
Method __init__ Undocumented
Method error Undocumented
Method parse​_args Undocumented
Instance Variable called​_from​_command​_line Undocumented
Instance Variable missing​_args​_message Undocumented
def __init__(self, *, missing_args_message=None, called_from_command_line=None, **kwargs):

Undocumented

def error(self, message):

Undocumented

def parse_args(self, args=None, namespace=None):

Undocumented

called_from_command_line =

Undocumented

missing_args_message =

Undocumented