def main(): parser = get_base_parser() commands = [mine, stats, actions, setup] argh.add_commands(parser, commands) args = GithubRuntimeConfig() if args.level == 'info': args.level = 'warning' argh.dispatch(parser, namespace=args)
def main(): parser = get_base_parser() commands = [mine, stats, actions, setup] argh.add_commands(parser, commands) args = GithubRuntimeConfig() if args.level == 'info': args.level = 'warning' if args.runner == 'process': logger.warning('this operation does not support multiprocessing, falling back to threads') args.runner = 'thread' argh.dispatch(parser, namespace=args)
def main(): parser = get_base_parser() commands = [mine, stats, actions, setup] argh.add_commands(parser, commands) args = GithubRuntimeConfig() if args.level == 'info': args.level = 'warning' if args.runner == 'process': logger.warning( 'this operation does not support multiprocessing, falling back to threads' ) args.runner = 'thread' argh.dispatch(parser, namespace=args)