def METHOD_NAME():
    """
    Exits on -1 in case of internal error. Otherwise exits on number of cycles found.
    No cycle found will therefore exit on 0.
    :return: None
    """
    logging.basicConfig(format='[%(asctime)s][%(levelname)s] %(message)s', level=logging.INFO)
    args = parse(sys.argv[1:])
    logging.info("Starting cycle detection process.")
    outputs = get_gcc_outputs(args.ninja_compile_command)
    sys.exit(find_cycles(outputs, args.exclude_dirs))