You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ Test changes using this comprehensive checklist (from CONTRIBUTING.md):
64
64
65
65
# Open in editor (if testing adapters)
66
66
./bin/gtr config set gtr.editor.default cursor
67
-
./bin/gtr open test-feature
67
+
./bin/gtr editor test-feature
68
68
# Expected: Opens Cursor at worktree path
69
69
70
70
# Run AI tool (if testing adapters)
@@ -91,7 +91,7 @@ Test changes using this comprehensive checklist (from CONTRIBUTING.md):
91
91
92
92
# Test shell completions with tab completion
93
93
gtr new <TAB>
94
-
gtr open<TAB>
94
+
gtr editor<TAB>
95
95
# Expected: Shows available branches/worktrees
96
96
97
97
# Test gtr go for main repo and worktrees
@@ -171,7 +171,7 @@ git --version
171
171
172
172
**Branch Name Mapping**: Branch names are sanitized to valid folder names (slashes and special chars → hyphens). For example, `feature/user-auth` becomes folder `feature-user-auth`.
173
173
174
-
**Special ID '1'**: The main repository is always accessible via ID `1` in commands (e.g., `gtr go 1`, `gtr open 1`).
174
+
**Special ID '1'**: The main repository is always accessible via ID `1` in commands (e.g., `gtr go 1`, `gtr editor 1`).
175
175
176
176
**Configuration Storage**: All configuration is stored via `git config` (local, global, or system). No custom config files. This makes settings portable and follows git conventions.
177
177
@@ -187,7 +187,7 @@ git --version
187
187
Understanding how commands are dispatched through the system:
188
188
189
189
1.**Entry Point** (`bin/gtr:32-79`): Main dispatcher receives command and routes to appropriate handler
190
-
2.**Command Handlers** (`bin/gtr`): Each `cmd_*` function handles a specific command (e.g., `cmd_create`, `cmd_open`, `cmd_ai`)
190
+
2.**Command Handlers** (`bin/gtr`): Each `cmd_*` function handles a specific command (e.g., `cmd_create`, `cmd_editor`, `cmd_ai`)
0 commit comments