def parser(rules=None, **kwargs):
    """Instantiate a parser with the default Splunk command rules."""
    rules = RULES_SPLUNK if rules is None else dict(RULES_SPLUNK, **rules)
    return Parser(rules, **kwargs)
def parser ( rules = None , ** kwargs ) : rules = RULES_SPLUNK if rules is None else dict ( RULES_SPLUNK , ** rules ) return Parser ( rules , ** kwargs )
Instantiate a parser with the default Splunk command rules.