MCPcopy Index your code
hub / github.com/github/spec-kit / _cli_phase_label

Function _cli_phase_label

src/specify_cli/__init__.py:336–341  ·  view source on GitHub ↗

Format a stable operation label for user-visible diagnostics.

(phase: str, target_kind: str, target: str | None = None)

Source from the content-addressed store, hash-verified

334
335
336def _cli_phase_label(phase: str, target_kind: str, target: str | None = None) -> str:
337 """Format a stable operation label for user-visible diagnostics."""
338 label = f"{phase} {target_kind}".strip()
339 if target:
340 label = f"{label} '{target}'"
341 return label
342
343
344def _print_cli_warning(

Callers 1

_print_cli_warningFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected