code: def complete(self, text, state):
          
          result = cmd.Cmd.complete(self, text, state)
          if self.argparser_completer:
              self._make_argparser()
              # argparser screws up with internal states, this is the best way to fix it for now
          return result
docs: Overridden to reset the argument parser after every completion (argcomplete fails :()