Example #1
0
def main ():
    parser = OptionParser()
    set_ao_options(parser)
    if hasattr(parser, 'runner'):
        parser.runner = runner
    options, args = parser.parse_args()
    runner(parser, options, args)
    return
Example #2
0
def main():
    parser = OptionParser()
    set_di_options(parser)
    if hasattr(parser, 'runner'):
        parser.runner = runner
    options, args = parser.parse_args()
    runner(parser, options, args)
    return