worktree-launcher 1.2.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -8
- package/dist/index.js +982 -243
- package/package.json +4 -1
- package/dist/chunk-KGMGW33P.js +0 -386
- package/dist/new-DHGI74HT.js +0 -6
package/README.md
CHANGED
|
@@ -36,21 +36,37 @@ npm install -g worktree-launcher
|
|
|
36
36
|
|
|
37
37
|
Requires Node.js 18+ and git.
|
|
38
38
|
|
|
39
|
-
## Interactive Mode
|
|
39
|
+
## Interactive Mode (TUI)
|
|
40
40
|
|
|
41
|
-
Run `wt` with no arguments to
|
|
41
|
+
Run `wt` with no arguments to open a terminal UI:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
44
|
wt
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
- Select a worktree to see actions
|
|
49
|
-
- Launch an AI assistant in any worktree
|
|
50
|
-
- Delete worktrees
|
|
51
|
-
- Create new worktrees
|
|
47
|
+
The TUI shows your repo name, current branch, and all existing worktrees. Use keyboard shortcuts to manage them:
|
|
52
48
|
|
|
53
|
-
|
|
49
|
+
| Key | Action |
|
|
50
|
+
|-----|--------|
|
|
51
|
+
| `n` | Create new worktree (guided wizard) |
|
|
52
|
+
| `d` | Delete selected worktree |
|
|
53
|
+
| `c` | Launch Claude Code in selected worktree |
|
|
54
|
+
| `x` | Launch Codex in selected worktree |
|
|
55
|
+
| `Enter` | Print cd command for selected worktree |
|
|
56
|
+
| `r` | Refresh worktree list |
|
|
57
|
+
| `q` | Quit |
|
|
58
|
+
|
|
59
|
+
Navigate with arrow keys or vim-style `j`/`k`.
|
|
60
|
+
|
|
61
|
+
### Creating a New Worktree
|
|
62
|
+
|
|
63
|
+
Press `n` to start the guided creation wizard:
|
|
64
|
+
|
|
65
|
+
1. **Branch name** - Enter the name for your new branch
|
|
66
|
+
2. **Base branch** - Create from current branch or default branch (main/master)
|
|
67
|
+
3. **Copy .env files** - Copy environment files to the new worktree
|
|
68
|
+
4. **Push to remote** - Push branch to GitHub immediately
|
|
69
|
+
5. **Launch AI tool** - Choose Claude Code, Codex, or skip
|
|
54
70
|
|
|
55
71
|
## Commands
|
|
56
72
|
|