@cmdln.option("-f", action="store_true", dest="force")
    @cmdln.option("-s", action="store_true", dest="fix_status")
    @cmdln.option("-d", action="store_true", dest="delete")
    @cmdln.option("-o", action="store_true", dest="output")
    @cmdln.option("-i", action="store_true", dest="input")
    def do_change(self, opts, args):
        print "p4 %s: opts=%s action=%r" % (subcmd, opts, action)
Abstract the whitelabel/domain
dataset/ETHPy150Open trentm/cmdln/examples/p4.py/Client.do_change--crossover with--dataset/ETHPy150Open exosite-labs/pyonep/pyonep/portals/endpoints.py/Domain.__init__