CLI

All commands accept -f westwind.yaml (default: ./westwind.yaml) and --json for machine-readable output.

westwind validate                 # schema and catalog checks
westwind boards [--json]          # catalog/boards.json
westwind models [--json]          # catalog/models.json
westwind elements [--json]        # catalog/elements.json
westwind fetch                    # download datasets and the model
westwind train                    # model.train, if present
westwind convert                  # tflite or torch to an ExecuTorch .pte, numeric check
westwind generate -o app/         # Zephyr application from the graph
westwind build [-b BOARD]         # west build of the generated app
westwind flash [-p PORT]          # flash with the board's method
westwind run [--stages a,b]       # fetch, train, convert, generate, build
westwind serve [--port 8765]      # offload server for edge and cloud placement
westwind serve --serial PORT --upstream URL   # site bridge to a remote serve
westwind federate [--run|--submit]   # Flower app; run here, or submit to a SuperLink
westwind deploy -o deploy/        # compose, Kubernetes and AWS files for the pipeline
westwind submit [--stages a,b]    # run stages in compose or as a Kubernetes Job
westwind job --bundle B           # container side of submit
westwind mcp                      # MCP server on stdio
westwind editor --opencode --vscode   # write opencode.json and .vscode/mcp.json

Exit status is 0 on success, 1 on a failed stage, 2 on a usage or validation error. --json prints one JSON object per stage to stdout.