Skip to content

Commit 736e282

Browse files
committed
Update with check changes
1 parent 6c83e9f commit 736e282

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The `specify` command supports the following options:
7474
| Command | Description |
7575
|-------------|----------------------------------------------------------------|
7676
| `init` | Initialize a new Specify project from the latest template |
77-
| `check` | Check for installed tools (`git`, `claude`, `gemini`) |
77+
| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`) |
7878

7979
### `specify init` Arguments & Options
8080

src/specify_cli/__init__.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,7 @@ def init(
812812
if not check_tool("gemini", "Install from: https://github.com/google-gemini/gemini-cli"):
813813
console.print("[red]Error:[/red] Gemini CLI is required for Gemini projects")
814814
agent_tool_missing = True
815-
# GitHub Copilot check is not needed as it's typically available in supported IDEs
816-
815+
817816
if agent_tool_missing:
818817
console.print("\n[red]Required AI tool is missing![/red]")
819818
console.print("[yellow]Tip:[/yellow] Use --ignore-agent-tools to skip this check")
@@ -963,11 +962,18 @@ def check():
963962
tracker.add("git", "Git version control")
964963
tracker.add("claude", "Claude Code CLI")
965964
tracker.add("gemini", "Gemini CLI")
965+
tracker.add("code", "VS Code (for GitHub Copilot)")
966+
tracker.add("cursor-agent", "Cursor IDE agent (optional)")
966967

967968
# Check each tool
968969
git_ok = check_tool_for_tracker("git", "https://git-scm.com/downloads", tracker)
969970
claude_ok = check_tool_for_tracker("claude", "https://docs.anthropic.com/en/docs/claude-code/setup", tracker)
970971
gemini_ok = check_tool_for_tracker("gemini", "https://github.com/google-gemini/gemini-cli", tracker)
972+
# Check for VS Code (code or code-insiders)
973+
code_ok = check_tool_for_tracker("code", "https://code.visualstudio.com/", tracker)
974+
if not code_ok:
975+
code_ok = check_tool_for_tracker("code-insiders", "https://code.visualstudio.com/insiders/", tracker)
976+
cursor_ok = check_tool_for_tracker("cursor-agent", "https://cursor.sh/", tracker)
971977

972978
# Render the final tree
973979
console.print(tracker.render())

0 commit comments

Comments
 (0)