MCPcopy
hub / github.com/github/spec-kit / integration_status

Function integration_status

src/specify_cli/integrations/_query_commands.py:183–203  ·  view source on GitHub ↗

Report the current project's integration status without changing files.

(
    json_output: bool = typer.Option(
        False,
        "--json",
        help="Emit machine-readable integration status.",
    ),
)

Source from the content-addressed store, hash-verified

181
182@integration_app.command("status")
183def integration_status(
184 json_output: bool = typer.Option(
185 False,
186 "--json",
187 help="Emit machine-readable integration status.",
188 ),
189):
190 """Report the current project's integration status without changing files."""
191 from .. import _require_specify_project
192 from ..integration_status import build_integration_status_report
193
194 project_root = _require_specify_project()
195 report = build_integration_status_report(project_root)
196
197 if json_output:
198 typer.echo(json.dumps(report, indent=2))
199 else:
200 _print_integration_status_report(report)
201
202 if report["status"] == "error":
203 raise typer.Exit(1)
204
205
206@integration_app.command("use")

Callers

nothing calls this directly

Tested by

no test coverage detected