- Start the exec server
tsx exec-server.ts &
- Run Maestro test
maestro test ./example-flow.yaml
- Profit
- A server runs on 127.0.0.1:4567 and listens on the /exec endpoint for commands to run
- Commands are send from Maestro via the HTTP client to the exec server
- The server returns the following:
- exitCode
- stdout
- stderr
- Pass
parseJson: true
to parse stdout as JSON and make it available in thejson
field - Specify a
resultId
so you can access the results of previous commands as variables, e.g.${output.yourResultId.stdout}