While writing 4DSSE we want a way to keep track of what defaults have been set for config files, and validate that we are using the same config variables where we want to. This python script generates a "default" yaml file based on the default values given in .get<T>
9 lines
186 B
Bash
Executable File
9 lines
186 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Check if python is installed
|
|
if ! [ -x "$(command -v python)" ]; then
|
|
echo 'Error: python is not installed.' >&2
|
|
exit 1
|
|
fi
|
|
|
|
python ./generateDefaultConfig.py ../../src |