def run(params={}):
    args = params['args']
    if (len(args) > 0):
        action = args[0]
        if action:
            if (action == 'generate'):
                generate(params)
            else:
                help(params)
        else:
            help(params)
    else:
        help(params)
def run(params={}):
    args = params['args']
    if (len(args) > 0):
        action = args[0]
        if action:
            if (action == 'generate'):
                generate(params)
            else:
                help(params)
        else:
            help(params)
    else:
        help(params)