def main(argv, **kwargs): prefix = 'updater_' command,_ = runners.get_command(kwargs['dir'], argv, prefix, 'updater', lambda doc: eval(doc)) if command: c = eval(prefix+command) c()
def main(argv, **kwargs): prefix = 'db_' command, args = runners.get_command(kwargs['dir'], argv, prefix, 'db_to_text', lambda doc: eval(doc)) if command: c = eval(prefix+command) c(args)
def main(argv, **kwargs): prefix = 'exp_' command, _ = runners.get_command(kwargs['dir'], argv, prefix, 'experiment', lambda doc: eval(doc)) if command: c = eval(prefix+command) c()