Return the current Spec Kit version. Resolved lazily through ``_commands.get_speckit_version`` so that tests that monkeypatch ``specify_cli.integrations._commands.get_speckit_version`` still affect helpers called from the command handlers.
()
| 24 | |
| 25 | |
| 26 | def _get_speckit_version() -> str: |
| 27 | """Return the current Spec Kit version. |
| 28 | |
| 29 | Resolved lazily through ``_commands.get_speckit_version`` so that tests |
| 30 | that monkeypatch ``specify_cli.integrations._commands.get_speckit_version`` |
| 31 | still affect helpers called from the command handlers. |
| 32 | """ |
| 33 | from . import _commands # noqa: PLC0415 — intentional late import to avoid circular + enable patching |
| 34 | return _commands.get_speckit_version() |
| 35 | |
| 36 | |
| 37 | # --------------------------------------------------------------------------- |
no outgoing calls
no test coverage detected