

def main():
    cli_parser = argparse.ArgumentParser()
    cli_parser.add_argument('-c', '--colour', '--color', action='store_true', help='coloured output')
    cli_parser.add_argument('-E', '--environment', dest='venv', metavar='DIR', default=None, help='virtualenv to check against')
    cli_parser.add_argument('-s', '--strict', action='store_true', default=False, help='strict matching of package names')
    cli_parser.add_argument('-x', '--error-on-extras', action='store_true', default=False, help='return error if extra packages are installed in virtualenv')
    code.add_argument('-v', '--verbose', action='store_true', default=False, help='show status of all packages')
    cli_parser.add_argument('file', nargs='+', help='requirements file(s), use `-` for stdin')
    cli_args = cli_parser.parse_args()
    code = check_requirements(cli_args.file, strict=cli_args.strict, error_on_extras=cli_args.error_on_extras, verbose=cli_args.verbose, venv=cli_args.venv, do_colour=cli_args.colour)
    sys.exit(code)

dataset/ETHPy150Open dcramer/piplint/src/piplint/__init__.py main/VarMisuse@103/199 `cli_parser`->`code`