code: def default(self, line):
          
  
          if any((line.startswith(x) for x in self.argparse_names())):
              try:
                  args = self.argparser.parse_args(shlex.split(line))
              except Exception:  # intentionally catches also other errors in argparser
                  pass
              else:
                  args.func(args)
          else:
              cmd.Cmd.default(self, line)
docs: Overriding default to get access to any argparse commands we have specified.