💫 Toolkit to help you get started with SDD or any other process!
Merge pull request #199 from github/update-cli
Den Delimarskyd605d1e00866
diff --cc src/specify_cli/__init__.pyindex 7b34b9f1c,8c08d61c9..0e50499f8--- a/src/specify_cli/__init__.py+++ b/src/specify_cli/__init__.py@@@ -338,18 -335,18 +338,28 @@@ def run_command(cmd: list[str], check_rreturn None+ def check_tool_for_tracker(tool: str, install_hint: str, tracker: StepTracker) -> bool:+ """Check if a tool is installed and update tracker."""+ if shutil.which(tool):+ tracker.complete(tool, "available")+ return True+ else:+ tracker.error(tool, f"not found - {install_hint}")+ return False++def check_tool(tool: str, install_hint: str) -> bool:"""Check if a tool is installed."""++ # Special handling for Claude CLI after `claude migrate-installer`+ # See: https://github.com/github/spec-kit/issues/123+ # The migrate-installer command REMOVES the original executable from PATH+ # and creates an alias at ~/.claude/local/claude instead+ # This path should be prioritized over other claude executables in PATH+ if tool == "claude":+ if CLAUDE_LOCAL_PATH.exists() and CLAUDE_LOCAL_PATH.is_file():+ return True+if shutil.which(tool):return Trueelse: