import os, time from sfa.sfatables.command import Add class SetDefault(Command): options = [('-P','--default')] help = 'Set the default rule for a chain' key='add_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)