code: def cmd(self, args=None, interact=True):
          
          if args is None:
              parsed_args = arguments.parse_args()
          else:
              parsed_args = arguments.parse_args(args)
          self.exit_code = 0
          with self.handling_exceptions():
              self.use_args(parsed_args, interact, original_args=args)
          self.exit_on_error()
docs: Process command-line arguments.