diff --git a/sdgx/cli/main.py b/sdgx/cli/main.py index 17d10aae..5888f06b 100644 --- a/sdgx/cli/main.py +++ b/sdgx/cli/main.py @@ -412,7 +412,7 @@ def list_cachers(): @click.command() @cli_wrapper -def list_exporters(): +def list_data_exporters(): for model_name, model_cls in DataExporterManager().registed_exporters.items(): print(f"{model_name} is registed as class: {model_cls}.") @@ -428,7 +428,7 @@ def cli(): cli.add_command(list_data_connectors) cli.add_command(list_data_processors) cli.add_command(list_cachers) -cli.add_command(list_exporters) +cli.add_command(list_data_exporters) if __name__ == "__main__": diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py index 9d85d0a5..1fe938d0 100644 --- a/tests/cli/test_cli.py +++ b/tests/cli/test_cli.py @@ -7,8 +7,8 @@ fit, list_cachers, list_data_connectors, + list_data_exporters, list_data_processors, - list_exporters, list_models, sample, ) @@ -22,7 +22,7 @@ list_cachers, list_data_connectors, list_data_processors, - list_exporters, + list_data_exporters, list_models, ], )