I'm running a Node-RED project with mutliple flows. I would like to enable/disable some flows during startup. I've seen, that this is possible using the admin web interface. Is this possible using settings.js, the command-line, or the API?
What do you mean by disable during startup? Do you mean you want to startup with certain flows disabled and they should remain disabled, or you just want them disabled temporarily during startup, which I think is what the question implies, but doesn't make sense.
How are you proposing that that they are selected during startup? At what point during startup do you want to be able to select them? Or do you mean you want to select them before startup by setting some configuration or similar.
@Colin Currently there is the setting disableFlows in settings.js. It takes the values true and false. I think this should be modified, that is takes an array of strings and regex, too. For example:
disableFlows = [ /^Development.*/, 'Feature X' ];
When Node-RED starts, it should iterate over all flows and disable all flows, which names match the regular expressions or have a name equal to the string value.