def cli():
    args = parse_args(sys.argv[1:])
    logger.setLevel((args.pop('log') * 10))
    main(args.pop('command'), **args)
def cli():
    args = parse_args(sys.argv[1:])
    logger.setLevel((args.pop('log') * 10))
    main(args.pop('command'), **args)