src/orion/core/io/interactive_commands/branching_prompt.py
def parse_command(f):
    """Wrap command methods to automatically parse using parsers and catch errors to print
    stacktrace without leaving the prompt
    """

    @functools.wraps(f)
    def call(self, arg):

        try:
            options = self.parser.parse_args([f.__name__[3:]] + shlex.split(arg))
        except SystemExit:
            return None

        try:
            rval = f(self, options)
        except KeyboardInterrupt:
            raise
        except BaseException:
            print(traceback.format_exc())
            rval = None

        return rval

    return call
Wrap command methods to automatically parse using parsers and catch errors to print
    stacktrace without leaving the prompt
    
Wrap command methods to automatically parse using parsers and catch errors to print
stacktrace without leaving the prompt
Wrap command methods to automatically parse using parsers and catch errors to print stacktrace without leaving the prompt
def parse_command(f):
    @functools.wraps(f)
    def call(self, arg):
        try:
            options = self.parser.parse_args([f.__name__[3:]] + shlex.split(arg))
        except SystemExit:
            return None
        try:
            rval = f(self, options)
        except KeyboardInterrupt:
            raise
        except BaseException:
            print(traceback.format_exc())
            rval = None
        return rval
    return call
def parse_command ( f ) : @ functools . wraps ( f ) def call ( self , arg ) : try : options = self . parser . parse_args ( [ f . __name__ [ 3 : ] ] + shlex . split ( arg ) ) except SystemExit : return None try : rval = f ( self , options ) except KeyboardInterrupt : raise except BaseException : print ( traceback . format_exc ( ) ) rval = None return rval return call
Wrap command methods to automatically parse using parsers and catch errors to print
stacktrace without leaving the prompt
Wrap command methods to automatically parse using parsers and catch errors to print stacktrace without leaving the prompt
"""Wrap command methods to automatically parse using parsers and catch errors to print
    stacktrace without leaving the prompt
    """
f