tools/utils.py
def args_error(parser, message):
    """Abort with an error that was generated by the arguments to a CLI program

    Positional arguments:
    parser - the ArgumentParser object that parsed the command line
    message - what went wrong
    """
    parser.error(message)
    sys.exit(2)
Abort with an error that was generated by the arguments to a CLI program

    Positional arguments:
    parser - the ArgumentParser object that parsed the command line
    message - what went wrong
    
Abort with an error that was generated by the arguments to a CLI program
Positional arguments:
parser - the ArgumentParser object that parsed the command line
message - what went wrong
Abort with an error that was generated by the arguments to a CLI program Positional arguments : parser - the ArgumentParser object that parsed the command line message - what went wrong
def args_error(parser, message):
    parser.error(message)
    sys.exit(2)
def args_error ( parser , message ) : parser . error ( message ) sys . exit ( 2 )
Abort with an error that was generated by the arguments to a CLI program
Positional arguments:
parser - the ArgumentParser object that parsed the command line
message - what went wrong
Abort with an error that was generated by the arguments to a CLI program Positional arguments : parser - the ArgumentParser object that parsed the command line message - what went wrong
"""Abort with an error that was generated by the arguments to a CLI program

    Positional arguments:
    parser - the ArgumentParser object that parsed the command line
    message - what went wrong
    """
parser
message