code: def cmd_list(self, argv, help):
          
          parser = argparse.ArgumentParser(
              prog="%s list" % self.progname,
              description=help,
          )
          parser.add_argument("list", nargs=1,
                              metavar="listname",
                              help="Name of list to show.",
                              choices=sorted(self.list_cmds))
          parser.add_argument("listopts",
                              metavar="...",
                              nargs=argparse.REMAINDER,
                              help="list command options")
          args = parser.parse_args(argv)
          for name, func in sorted(self.list_cmds[args.list[0]]):
              func(args.listopts, func.__doc__)
docs: Return a list of various things