@crochet.wait_for(timeout=None)
@defer.inlineCallbacks
def filtercmd(line):
    if not line:
        raise PappyException("Filter string required")
    
    filter_to_add = pappyproxy.context.Filter(line)
    yield filter_to_add.generate()
    pappyproxy.pappy.main_context.add_filter(filter_to_add)
Apply a filter to the current context
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/plugins/filter.py/filtercmd