def METHOD_NAME():
    msg = 'README checker. Run it against the arcgis-maps-sdk-swift-samples ' \
          'folder or a single sample folder. ' \
          'On success: Script will exit with zero. ' \
          'On failure: Style violations will print to console and the script ' \
          'will exit with non-zero code.'
    parser = argparse.ArgumentParser(description=msg)
    parser.add_argument('-a', '--all', help='path to project root folder')
    parser.add_argument('-s', '--single', help='path to a sample folder')
    args = parser.parse_args()
    if args.all:
        try:
            all_samples(args.all)
        except Exception as err:
            raise err
    elif args.single:
        try:
            single(args.single)
        except Exception as err:
            raise err
    else:
        raise Exception('Invalid arguments, abort.')