Skip to content

Enhancements for import/export #948

Description

@tylerpieper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions