mix saaskit.status (saas_kit v3.0.0)

Copy Markdown

Reports current SaaS Kit state: config status, app name, installed/pending feature counts, and the suggested next command.

Works as both a human snapshot and an agent state probe.

Usage: mix saaskit.status mix saaskit.status --json

JSON shape:

{
  "schema_version": 1,
  "ok": true,
  "configured": true,
  "app": { "name": "MyApp", "slug": "my_app" },
  "features": { "total": 12, "installed": 3, "pending": 9 },
  "next_command": "mix saaskit.feature.install auth"
}

On not_configured or api_unreachable the JSON envelope is:

{"schema_version": 1, "ok": false, "error": {"code": "...", "message": "..."}}