def cmd_list(self, argv, help):
parser = argparse.ArgumentParser(<EOL>prog="<STR_LIT>" % self.progname,<EOL>description=help,<EOL>)<EOL>parser.add_argument("<STR_LIT:list>", nargs=<NUM_LIT:1>,<EOL>metavar="<STR_LIT>",<EOL>help="<STR_LIT>",<EOL>choices=sorted(self.list_cmds))<EOL>parser.add_argument("<STR_LIT>",<EOL>metavar="<STR_LIT>",<EOL>nargs=argparse.REMAINDER,<EOL>help="<STR_LIT>")<EOL>args = parser.parse_args(argv)<EOL>for name, func in sorted(self.list_cmds[args.list[<NUM_LIT:0>]]):<EOL><INDENT>func(args.listopts, func.__doc__)<EOL><DEDENT>
Return a list of various things