def runcmd(self, cmd, args):
dof = getattr(self, '<STR_LIT>' + cmd, None)<EOL>if dof is None:<EOL><INDENT>return self.default('<STR_LIT:U+0020>'.join([cmd] + args))<EOL><DEDENT>argf = getattr(self, '<STR_LIT>' + cmd, None)<EOL>if argf is not None:<EOL><INDENT>parser = argparse.ArgumentParser(<EOL>prog=cmd,<EOL>description=getattr(dof, '<STR_LIT>', None))<EOL>argf(parser)<EOL>argl = parser.parse_args(args)<EOL><DEDENT>else:<EOL><INDENT>argl = '<STR_LIT:U+0020>'.join(args)<EOL><DEDENT>return dof(argl)<EOL>
Run a single command from pre-parsed arguments.

        This is intended to be run from :meth:`main` or somewhere else
        "at the top level" of the program.  It may raise
        :exc:`exceptions.SystemExit` if an argument such as ``--help``
        that normally causes execution to stop is encountered.