Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Update getting started examples in help text

Maximilian Roosf0bdf493e2fa
diff --git a/src/cli/mod.rs b/src/cli/mod.rs
index 0ffe3e8a9..a65cca3aa 100644
--- a/src/cli/mod.rs
+++ b/src/cli/mod.rs
@@ -173,10 +173,10 @@ pub enum OutputFormat {
#[command(after_long_help = "\
Getting started
- wt switch --create feature Create worktree and branch
- wt switch feature Switch to worktree
- wt list Show all worktrees
- wt merge Squash, rebase, and merge to default branch
+ wt switch --create feature # Create worktree and branch
+ wt switch feature # Switch to worktree
+ wt list # Show all worktrees
+ wt remove # Remove worktree; delete branch if merged
Run `wt config shell install` to set up directory switching.
Run `wt config create` to customize worktree locations.
diff --git a/tests/snapshots/integration__integration_tests__help__help_md_root.snap b/tests/snapshots/integration__integration_tests__help__help_md_root.snap
index 4d2dfc53d..08e069f54 100644
--- a/tests/snapshots/integration__integration_tests__help__help_md_root.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_md_root.snap
@@ -50,10 +50,10 @@ Global Options:
Getting started
- wt switch --create feature Create worktree and branch
- wt switch feature Switch to worktree
- wt list Show all worktrees
- wt merge Squash, rebase, and merge to default branch
+ wt switch --create feature # Create worktree and branch
+ wt switch feature # Switch to worktree
+ wt list # Show all worktrees
+ wt remove # Remove worktree; delete branch if merged
Run `wt config shell install` to set up directory switching.
Run `wt config create` to customize worktree locations.
diff --git a/tests/snapshots/integration__integration_tests__help__help_root_long.snap b/tests/snapshots/integration__integration_tests__help__help_root_long.snap
index c7da7026e..6415c7622 100644
--- a/tests/snapshots/integration__integration_tests__help__help_root_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_root_long.snap
@@ -52,10 +52,10 @@ Usage: wt [OPTIONS] [COMMAND]
Getting started
- wt switch --create feature Create worktree and branch
- wt switch feature Switch to worktree
- wt list Show all worktrees
- wt merge Squash, rebase, and merge to default branch
+ wt switch --create feature # Create worktree and branch
+ wt switch feature # Switch to worktree
+ wt list # Show all worktrees
+ wt remove # Remove worktree; delete branch if merged
Run wt config shell install to set up directory switching.
Run wt config create to customize worktree locations.