diff --git a/relecov_tools/__main__.py b/relecov_tools/__main__.py index ef0f701d..fbdc13a6 100755 --- a/relecov_tools/__main__.py +++ b/relecov_tools/__main__.py @@ -706,11 +706,12 @@ def pipeline_manager(input, template, output, config, folder_names): is_flag=True, help="Prints a changelog/diff between the base and incoming versions of the schema.", ) +@click.option('--version', help='Specify the schema version.') @click.option("-o", "--out_dir", type=click.Path(), help="Path to save output file/s") -def build_schema(input_file, schema_base, draft_version, diff, out_dir): +def build_schema(input_file, schema_base, draft_version, diff, out_dir, version): """Generates and updates JSON Schema files from Excel-based database definitions.""" schema_update = relecov_tools.build_schema.SchemaBuilder( - input_file, schema_base, draft_version, diff, out_dir + input_file, schema_base, draft_version, diff, out_dir, version ) try: schema_update.handle_build_schema()