def METHOD_NAME():
    """
    getting the CLI arguments
    :return: CLI argumets
    """
    parser = argparse.ArgumentParser()
    parser.add_argument(
        "config_file",
        type=argparse.FileType("r"),
        help="Location of extraction config file.",
    )
    args = parser.parse_args()
    config_file = args.config_file
    with config_file as stream:
        try:
            config = yaml.safe_load(stream)
            return config
        except yaml.YAMLError as exception:
            sys.exit(f"Failed to parse extraction config yaml file: {exception}")