def parse(argv, rules=None, config=None, **kwargs):
    """Parse the given arg vector with the default Splunk command rules."""
    parser_ = parser(rules, **kwargs)
    if config is not None: parser_.loadrc(config)
    return parser_.parse(argv).result
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
Parse the given arg vector with the default Splunk command rules.