def METHOD_NAME():
    """
    Define and process the command line interface to the varmat compatibility summarize script.
    """
    parser = FullErrorMsgParser(
        description="Process results of varmat compatibility test.",
        formatter_class=ArgumentDefaultsHelpFormatter,
    )
    parser.add_argument(
        "results_file",
        type=str,
        default=[],
        help="File with results of varmat compatibility test.",
    )
    parser.add_argument(
        "--functions",
        nargs="+",
        type=str,
        default=[],
        help="Function names to summarize. By default summarize everything.",
    )
    parser.add_argument(
        "--which",
        default = "compatible",
        choices = ["compatible", "incompatible", "irrelevant"],
        help = "Print by compatibility."
    )
    parser.add_argument(
        "--fully",
        default = False,
        help = "When printing compatible or incompatible function names, print those that are fully compatible or incompatible, ignoring irrelevant functions. When printing irrelevant functions, print only those with no compatible or incompatible versions.",
        action = "store_true"
    )
    parser.add_argument(
        "--names",
        default=False,
        help="Print function names, not signatures.",
        action="store_true",
    )
    args = parser.parse_args()
    with open(args.results_file, "r") as f:
        results = json.load(f)
    names_to_print = process_results(
        results, args.functions,
        print_which = args.which,
        print_fully = args.fully,
        print_names = args.names
    )
    for name in sorted(names_to_print):
        print(name.strip())