feat(defaultConfig): added default config generation script
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>
This commit is contained in:
9
utils/defaultConfig/generateDefaultConfig.sh
Executable file
9
utils/defaultConfig/generateDefaultConfig.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user