Is this possible?
For example, if I had a flow file I wanted to run, I would ordinarily:
1) Enter "node-red" from the command line.
2) Navigate to localhost:1880 in a browser
3) Click "Deploy".
4) Click the "Start" button of the "Inject" node to commence the flow.
Conversely, if I'd developed in node.js, I would enter:
node <mynodefile.js>
On the command line to have my program up and running, and could package this in a shell script for example.
How can I achieve the same effect with node-red? Is it possible to enclose the flows file in a node.js program for example? Or is there a better way to achieve a similar outcome?
Many thanks!