# summary

Generate a delivery dashboard from local workflow state.

# description

Reads `.setup-agents/state/tasks.jsonl` and `workflow-runs.jsonl` and produces a standalone HTML dashboard (Chart.js, SLDS colors) or a JSON metrics payload. No org connection required.

Default output path: `docs/dashboard.html`.

# flags.output.summary

Output file path for the HTML dashboard.

# flags.output.description

Path where the HTML file will be written. Defaults to `docs/dashboard.html`.

# flags.open.summary

Open the dashboard in the default browser after generation.

# flags.format.summary

Output format: html (default) or json.

# flags.format.description

`html` writes a standalone Chart.js file. `json` prints the metrics payload to stdout and does not write a file.

# examples

- Generate dashboard at default path:
  <%= config.bin %> <%= command.id %>
- Custom output path:
  <%= config.bin %> <%= command.id %> --output reports/delivery.html
- Open in browser after generation:
  <%= config.bin %> <%= command.id %> --open
- Print raw JSON metrics:
  <%= config.bin %> <%= command.id %> --format json

# info.written

Dashboard written to %s

# info.opening

Opening in browser...

# info.no-state

No task or workflow state found in %s — run `sf setup-agents init` first.
