def METHOD_NAME() -> None:
    info = collect('--detail' in sys.argv)
    if info:
        data = asdict(info, dict_factory=dict_factory)
        data['success'] = True
    else:
        data = {'success': False}
    if errors:
        data['failures'] = sorted(errors)
    print(json.dumps(data), flush=True)