Merge two or more node-red flows into one
Merges two or more separated json files, with different node-red flows. Writes each flows into one single json file.
$ node node-red-merge-flows.js --input /Users/sergio/flow1.json --input /Users/sergio/flow2.json --output /Users/sergio/merged.json
you can specify multiple input
files to merge.
--input | -i
is the output file.
--output | -o
when flows contain dashboards made with dashboard_ui
, this tools use data like site name and theme from the first flow specified in with the --input
. If you want to use data from a specific flow, you can use the --site
option specifying the site name of the flow which contains desired data.
--site | -s