import os, time from sfa.sfatables.command import Add class List(Command): options = [('-L','--list')] help = 'List a chain' key='list_rule' matches = False targets = False def __init__(self): return def call(self): # Override this function return True def __call__(self, option, opt_str, value, parser, *args, **kwargs): return self.call(option)