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>
614 B
614 B
Default Configuration Generator
Small tool to quickly generate a YAML config file which encodes all the default options used in 4DSSE. All c, c++, h, and hpp in the src directory are scanned and the config variables and their default values pulled out.
Usage
- You must have python installed
./generateDefaultConfig.sh
There should now be a file called defaults.yaml which stores all the default values.
Notes
This file could be used as a config file; however, it is more realistically intended for debugging and for checking what the default values set for config options in the code are.