Mostly a personal punch list with some ideas I had that I wanted to jot down before I forgot, but if someone wants to take a stab at them, go ahead! Most of these are specifically related to .cfg import export but they could be used for yaml as well I guess.
--preview-config or similar - reads a provided config file and prints all the settings configured within. Necessary because you can't just open the binary in notepad like you can the yaml file. Perhaps this should be default behavior - showing the config you are importing before writing the settings to the node (with an option to blindly import if desired, akin to -confirm:$false in powershell.
- Partial import and export. I imagine arguments like
--include-settings and --exclude-settings to choose categories or specific settings to include or exclude from the import or export. For example, --exclude-settings position,mqtt.mqtt_enabled would import everything in the cfg file except all of the position settings, and specifically the MQTT enabled setting (but the rest of MQTT would be imported)
- direct manipulation of the settings in a cfg file without needing a node attached - allow the creation and editing of config files without needing to use a node as a template. Include support for removing settings from a file to make it a partial file.
Mostly a personal punch list with some ideas I had that I wanted to jot down before I forgot, but if someone wants to take a stab at them, go ahead! Most of these are specifically related to .cfg import export but they could be used for yaml as well I guess.
--preview-configor similar - reads a provided config file and prints all the settings configured within. Necessary because you can't just open the binary in notepad like you can the yaml file. Perhaps this should be default behavior - showing the config you are importing before writing the settings to the node (with an option to blindly import if desired, akin to-confirm:$falsein powershell.--include-settingsand--exclude-settingsto choose categories or specific settings to include or exclude from the import or export. For example,--exclude-settings position,mqtt.mqtt_enabledwould import everything in the cfg file except all of the position settings, and specifically the MQTT enabled setting (but the rest of MQTT would be imported)