Skip to content

Commit ecf1757

Browse files
committed
Cleanup the check command
1 parent ceba130 commit ecf1757

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- Support for Kilo Code. Thank you [@shahrukhkhan489](https://github.com/shahrukhkhan489) with [#394](https://github.com/github/spec-kit/pull/394).
13-
- Support for Auggie CLI. Thank you [@hungthai1401](https://github.com/hungthai1401) with [#137](https://github.com/github/spec-kit/pull/137)
13+
- Support for Auggie CLI. Thank you [@hungthai1401](https://github.com/hungthai1401) with [#137](https://github.com/github/spec-kit/pull/137).
1414
- Agent folder security notice displayed after project provisioning completion, warning users that some agents may store credentials or auth tokens in their agent folders and recommending adding relevant folders to `.gitignore` to prevent accidental credential leakage.
1515

1616
### Changed
1717

1818
- Warning displayed to ensure that folks are aware that they might need to add their agent folder to `.gitignore`.
19+
- Cleaned up the `check` command output.
1920

2021
## [0.0.12] - 2025-09-21
2122

src/specify_cli/__init__.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -357,13 +357,13 @@ def run_command(cmd: list[str], check_return: bool = True, capture: bool = False
357357
return None
358358

359359

360-
def check_tool_for_tracker(tool: str, install_hint: str, tracker: StepTracker) -> bool:
360+
def check_tool_for_tracker(tool: str, tracker: StepTracker) -> bool:
361361
"""Check if a tool is installed and update tracker."""
362362
if shutil.which(tool):
363363
tracker.complete(tool, "available")
364364
return True
365365
else:
366-
tracker.error(tool, f"not found - {install_hint}")
366+
tracker.error(tool, "not found")
367367
return False
368368

369369

@@ -1071,25 +1071,25 @@ def check():
10711071
tracker.add("qwen", "Qwen Code CLI")
10721072
tracker.add("code", "Visual Studio Code")
10731073
tracker.add("code-insiders", "Visual Studio Code Insiders")
1074-
tracker.add("cursor-agent", "Cursor IDE agent (optional)")
1075-
tracker.add("windsurf", "Windsurf IDE (optional)")
1076-
tracker.add("kilocode", "Kilo Code IDE (optional)")
1074+
tracker.add("cursor-agent", "Cursor IDE agent")
1075+
tracker.add("windsurf", "Windsurf IDE")
1076+
tracker.add("kilocode", "Kilo Code IDE")
10771077
tracker.add("opencode", "opencode")
10781078
tracker.add("codex", "Codex CLI")
1079-
tracker.add("auggie", "Auggie CLI (optional)")
1079+
tracker.add("auggie", "Auggie CLI")
10801080

1081-
git_ok = check_tool_for_tracker("git", "https://git-scm.com/downloads", tracker)
1082-
claude_ok = check_tool_for_tracker("claude", "https://docs.anthropic.com/en/docs/claude-code/setup", tracker)
1083-
gemini_ok = check_tool_for_tracker("gemini", "https://github.com/google-gemini/gemini-cli", tracker)
1084-
qwen_ok = check_tool_for_tracker("qwen", "https://github.com/QwenLM/qwen-code", tracker)
1085-
code_ok = check_tool_for_tracker("code", "https://code.visualstudio.com/", tracker)
1086-
code_insiders_ok = check_tool_for_tracker("code-insiders", "https://code.visualstudio.com/insiders/", tracker)
1087-
cursor_ok = check_tool_for_tracker("cursor-agent", "https://cursor.sh/", tracker)
1088-
windsurf_ok = check_tool_for_tracker("windsurf", "https://windsurf.com/", tracker)
1089-
kilocode_ok = check_tool_for_tracker("kilocode", "https://kilocode.com/", tracker)
1090-
opencode_ok = check_tool_for_tracker("opencode", "https://opencode.ai/", tracker)
1091-
codex_ok = check_tool_for_tracker("codex", "https://github.com/openai/codex", tracker)
1092-
auggie_ok = check_tool_for_tracker("auggie", "https://auggie.io/", tracker)
1081+
git_ok = check_tool_for_tracker("git", tracker)
1082+
claude_ok = check_tool_for_tracker("claude", tracker)
1083+
gemini_ok = check_tool_for_tracker("gemini", tracker)
1084+
qwen_ok = check_tool_for_tracker("qwen", tracker)
1085+
code_ok = check_tool_for_tracker("code", tracker)
1086+
code_insiders_ok = check_tool_for_tracker("code-insiders", tracker)
1087+
cursor_ok = check_tool_for_tracker("cursor-agent", tracker)
1088+
windsurf_ok = check_tool_for_tracker("windsurf", tracker)
1089+
kilocode_ok = check_tool_for_tracker("kilocode", tracker)
1090+
opencode_ok = check_tool_for_tracker("opencode", tracker)
1091+
codex_ok = check_tool_for_tracker("codex", tracker)
1092+
auggie_ok = check_tool_for_tracker("auggie", tracker)
10931093

10941094
console.print(tracker.render())
10951095

0 commit comments

Comments
 (0)