code: def parse(argv, rules=None, config=None, **kwargs):
      
      parser_ = parser(rules, **kwargs)
      if config is not None: parser_.loadrc(config)
      return parser_.parse(argv).result
docs: Parse the given arg vector with the default Splunk command rules.