Fixed command line interface bug

This commit is contained in:
2024-11-10 18:19:59 +01:00
parent 8d17bf267c
commit ca2c98eebc

View File

@ -222,7 +222,7 @@ if __name__ == "__main__":
# Handle function execution based on the provided function name
if function_name == 'run':
if len(sys.argv) != 2:
if len(sys.argv) != 3:
print("Usage: python data_integration.py run <path_to_config_yamlFile>")
sys.exit(1)
# Extract path to configuration file, specifying the data integration task