def run(self, raw_args):
parser = self.parser<EOL>args, kwargs = parser.parse_callback_args(raw_args)<EOL>callback = kwargs.pop("<STR_LIT>")<EOL>if parser.has_injected_quiet():<EOL><INDENT>levels = kwargs.pop("<STR_LIT>", "<STR_LIT>")<EOL>logging.inject_quiet(levels)<EOL><DEDENT>try:<EOL><INDENT>ret_code = callback(*args, **kwargs)<EOL>ret_code = int(ret_code) if ret_code else <NUM_LIT:0><EOL><DEDENT>except ArgError as e:<EOL><INDENT>echo.err("<STR_LIT>", parser.prog, str(e))<EOL>ret_code = <NUM_LIT:2><EOL><DEDENT>return ret_code<EOL>
parse and import the script, and then run the script's main function