in scripts/event_schema_generator/main.py [0:0]
def argument_parser():
parser = argparse.ArgumentParser()
parser.add_argument('ecs', help='path to the root directory of the ecs project')
parser.add_argument('custom_schema', help='path to custom schema directory')
parser.add_argument('subset', nargs='+', help='one or more glob style directories of subset definitions')
parser.add_argument('out', help='directory to store the generated files')
parser.add_argument('--ecs_git_ref', help='github reference tag or hash version')
parser.add_argument('--out-schema-dir', help='directory to copy the generated example files')
return parser.parse_args()