Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Replace --force with --yes in documentation and tests
Maximilian Roos27b1629d004b
diff --git a/.claude-plugin/skills/worktrunk/reference/user-config.md b/.claude-plugin/skills/worktrunk/reference/user-config.mdindex 8cd11164f..0cac8bf23 100644--- a/.claude-plugin/skills/worktrunk/reference/user-config.md+++ b/.claude-plugin/skills/worktrunk/reference/user-config.md@@ -247,7 +247,7 @@ squash-template = "..."# Optional: Load squash template from filesquash-template-file = "~/.config/worktrunk/squash-template.txt"-# Approved Commands (auto-populated by wt switch --execute --force)+# Approved Commands (auto-populated by wt switch --execute --yes)[projects."github.com/user/repo"]approved-commands = ["npm install"]```@@ -273,7 +273,7 @@ approved-commands = ["npm install"]### Approved Commands Not Persisting-- Approved commands are auto-populated when using `wt switch --execute "cmd" --force`+- Approved commands are auto-populated when using `wt switch --execute "cmd" --yes`- Manual editing is possible but discouraged (use the tool's approval system)## User Hooksdiff --git a/tests/integration_tests/completion.rs b/tests/integration_tests/completion.rsindex 4a07488ca..1a6bba32a 100644--- a/tests/integration_tests/completion.rs+++ b/tests/integration_tests/completion.rs@@ -928,7 +928,7 @@ fn test_complete_merge_with_flags(repo: TestRepo) {.output().unwrap();- // Test: wt merge --no-remove --force <cursor>+ // Test: wt merge --no-remove --yes <cursor>// Should complete branches for positional (boolean flags don't consume arguments)let output = repo.completion_cmd(&["wt", "merge", "--no-remove", "--yes", ""])diff --git a/tests/integration_tests/shell_wrapper.rs b/tests/integration_tests/shell_wrapper.rsindex 7b636a32b..df88f8ca9 100644--- a/tests/integration_tests/shell_wrapper.rs+++ b/tests/integration_tests/shell_wrapper.rs@@ -577,7 +577,7 @@ fn exec_through_wrapper_from(/// * `shell` - The shell to use (e.g., "bash", "zsh", "fish")/// * `repo` - The test repository/// * `subcommand` - The wt subcommand (e.g., "merge", "switch")-/// * `args` - Arguments to the subcommand (without --force)+/// * `args` - Arguments to the subcommand (without --yes)/// * `working_dir` - Working directory for the command/// * `inputs` - Input strings to send (e.g., `&["y\n"]` for approval prompts)///