diff --git a/requirements.txt b/requirements.txt index a834b99..871cd8f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ click>=7.0 PyYAML~=5.1 -openpyxl~=2.6.2 +openpyxl==2.6.2 diff --git a/spyglass_plugin_xls/cli.py b/spyglass_plugin_xls/cli.py index e137ee8..a2e51a4 100644 --- a/spyglass_plugin_xls/cli.py +++ b/spyglass_plugin_xls/cli.py @@ -28,7 +28,6 @@ EXCEL_FILE_OPTION = click.option( '-x', '--excel-file', 'excel_file', - multiple=True, type=click.Path(exists=True, readable=True, dir_okay=False), required=True, help='Path to the engineering Excel file. Required for ' @@ -70,6 +69,8 @@ def excel(*, verbose): @EXCEL_SPEC_OPTION @cli.SITE_CONFIGURATION_FILE_OPTION @cli.INTERMEDIARY_DIR_OPTION +@cli.INTERMEDIARY_SCHEMA_OPTION +@cli.NO_INTERMEDIARY_VALIDATION_OPTION @cli.SITE_NAME_CONFIGURATION_OPTION def generate_intermediary(*args, **kwargs): process_input_ob = \ @@ -95,6 +96,8 @@ def generate_intermediary(*args, **kwargs): @EXCEL_SPEC_OPTION @cli.SITE_CONFIGURATION_FILE_OPTION @cli.INTERMEDIARY_DIR_OPTION +@cli.INTERMEDIARY_SCHEMA_OPTION +@cli.NO_INTERMEDIARY_VALIDATION_OPTION @cli.SITE_NAME_CONFIGURATION_OPTION @cli.TEMPLATE_DIR_OPTION @cli.MANIFEST_DIR_OPTION