arg.py (601B)
1 from chainlib.cli.arg import ArgFlag as BaseArgFlag 2 from chainlib.cli.arg import Arg as BaseArg 3 from chainlib.cli.arg import ArgumentParser 4 from chainlib.cli.arg import process_args 5 from chainlib.cli.arg import stdin_arg 6 7 8 class ArgFlag(BaseArgFlag): 9 pass 10 # 11 # def __init__(self): 12 # super(ArgFlag, self).__init__() 13 # 14 # self.add('create') 15 # 16 # 17 class Arg(BaseArg): 18 pass 19 # 20 # def __init__(self, flags): 21 # super(Arg, self).__init__(flags) 22 # self.add_long('null', 'create', typ=bool, help='Send to null-address (contract creation). Same as -a null or omitting -a.')