def run():
    parser = create_argparser()
    args = parser.parse_args()

    if args.no_color or args.no_colour:
        color.enabled = False

    if args.verbose:
        log.set_level(log.level - min(args.verbose, 2) * 10)

    if args.freeze:
        log.set_level(0)
        color.enabled = False

    exit_code = 0

    try:
        moult(**vars(args))
    except MoultCommandError as e:
        exit_code = 1
        log.fatal('Error: %s', e)
    except __HOLE__:
        exit_code = 1
        import getpass
        print('\n{}, eat a snickers'.format(getpass.getuser()))
    finally:
        if not utils.running_under_virtualenv():
            printer.output('/!\\ You are not in a Virtual Environment /!\\',
                            color=color.MAN)

    return exit_code
dataset/ETHPy150Open tweekmonster/moult/moult/program.py/run