worktree-launcher 1.2.0 → 1.2.1

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 CHANGED
@@ -73,6 +73,7 @@ wt new <branch-name> [options]
73
73
  Options:
74
74
  - `-i, --install` - Run package manager install after creating worktree
75
75
  - `-s, --skip-launch` - Create worktree without launching AI assistant
76
+ - `-p, --push` - Push branch to remote (makes it visible on GitHub immediately)
76
77
 
77
78
  Examples:
78
79
 
@@ -80,11 +81,17 @@ Examples:
80
81
  # Create worktree and launch AI selector
81
82
  wt new feature-auth
82
83
 
84
+ # Create worktree and push to GitHub
85
+ wt new feature-auth --push
86
+
83
87
  # Create worktree and run npm/yarn/pnpm install
84
88
  wt new feature-auth --install
85
89
 
86
90
  # Just create the worktree
87
91
  wt new feature-auth --skip-launch
92
+
93
+ # Combine options
94
+ wt new feature-auth --push --install --skip-launch
88
95
  ```
89
96
 
90
97
  The worktree is created at `../<repo-name>-<branch-name>/`. For example, if you run `wt new feature-auth` in `/code/myproject`, the worktree is created at `/code/myproject-feature-auth`.
package/dist/index.js CHANGED
@@ -424,7 +424,7 @@ async function pause() {
424
424
 
425
425
  // src/index.ts
426
426
  var program = new Command();
427
- program.name("wt").description("CLI tool to streamline git worktrees with AI coding assistants").version("1.2.0").action(async () => {
427
+ program.name("wt").description("CLI tool to streamline git worktrees with AI coding assistants").version("1.2.1").action(async () => {
428
428
  await interactiveCommand();
429
429
  });
430
430
  program.command("new <branch-name>").description("Create a new worktree and launch AI assistant").option("-i, --install", "Run package manager install after creating worktree").option("-s, --skip-launch", "Create worktree without launching AI assistant").option("-p, --push", "Push branch to remote (visible on GitHub)").action(async (branchName, options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worktree-launcher",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "CLI tool for managing git worktrees with AI coding assistants",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",