Running
Command line
Run flows headlessly — the CI/CD side of the tool.
npm install -g @lab34/flows
lab34-flows --help
lab34-flows --server
lab34-flows --file <path-to-flow-file> --env <environment> [--debug]
lab34-flows --capabilities
| Flag | What it does |
|---|---|
--file |
Path to the flow (.md or .yaml). Required unless --server. |
--env |
Environment to run in. Required with --file. |
--server |
Start the web UI on http://localhost:3001. |
--context |
Use another context directory instead of ~/lab34-flows. |
--debug |
Print environment variables and Node.js paths. |
--help |
Show the help. |
Applications are plain Node.js modules, so extend NODE_PATH to npm's root for
them to resolve the library:
export NODE_PATH=$(npm root -g) # Linux / macOS
set NODE_PATH=%AppData%\npm\node_modules # Windows