sergiotomasello / node-red-merge-flows

Merge two or more node-red flows into one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-red-merge-flows

Merge two or more node-red flows into one

Usage

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

input

you can specify multiple input files to merge.

--input | -i

output

is the output file.

--output | -o

site name

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

About

Merge two or more node-red flows into one

License:MIT License


Languages

Language:JavaScript 100.0%