Skip to content

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

refactor: require -vv for debug logging, reserve -v for future use (#702)

Maximilian Roosf64c7863b6b9
diff --git a/.claude-plugin/skills/worktrunk/reference/config.md b/.claude-plugin/skills/worktrunk/reference/config.md
index 89c4135f4..7315d2901 100644
--- a/.claude-plugin/skills/worktrunk/reference/config.md
+++ b/.claude-plugin/skills/worktrunk/reference/config.md
@@ -405,7 +405,7 @@ Usage: <b><span class=c>wt config</span></b> <span class=c>[OPTIONS]</span> <spa
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt config show
@@ -447,7 +447,7 @@ Usage: <b><span class=c>wt config show</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt config state
@@ -522,7 +522,7 @@ Usage: <b><span class=c>wt config state</span></b> <span class=c>[OPTIONS]</span
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt config state default-branch
@@ -574,7 +574,7 @@ Usage: <b><span class=c>wt config state default-branch</span></b> <span class=c>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt config state ci-status
@@ -624,7 +624,7 @@ Usage: <b><span class=c>wt config state ci-status</span></b> <span class=c>[OPTI
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt config state marker
@@ -680,7 +680,7 @@ Usage: <b><span class=c>wt config state marker</span></b> <span class=c>[OPTIONS
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt config state logs
@@ -744,4 +744,4 @@ Usage: <b><span class=c>wt config state logs</span></b> <span class=c>[OPTIONS]<
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
diff --git a/.claude-plugin/skills/worktrunk/reference/hook.md b/.claude-plugin/skills/worktrunk/reference/hook.md
index ed899e13a..c31838767 100644
--- a/.claude-plugin/skills/worktrunk/reference/hook.md
+++ b/.claude-plugin/skills/worktrunk/reference/hook.md
@@ -418,7 +418,7 @@ Usage: <b><span class=c>wt hook</span></b> <span class=c>[OPTIONS]</span> <span
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt hook approvals
@@ -467,4 +467,4 @@ Usage: <b><span class=c>wt hook approvals</span></b> <span class=c>[OPTIONS]</sp
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
diff --git a/.claude-plugin/skills/worktrunk/reference/list.md b/.claude-plugin/skills/worktrunk/reference/list.md
index fb3273cfa..ea798a8ba 100644
--- a/.claude-plugin/skills/worktrunk/reference/list.md
+++ b/.claude-plugin/skills/worktrunk/reference/list.md
@@ -281,4 +281,4 @@ Usage: <b><span class=c>wt list</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
diff --git a/.claude-plugin/skills/worktrunk/reference/merge.md b/.claude-plugin/skills/worktrunk/reference/merge.md
index 735dcebfa..333c0749e 100644
--- a/.claude-plugin/skills/worktrunk/reference/merge.md
+++ b/.claude-plugin/skills/worktrunk/reference/merge.md
@@ -117,4 +117,4 @@ Usage: <b><span class=c>wt merge</span></b> <span class=c>[OPTIONS]</span> <span
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
diff --git a/.claude-plugin/skills/worktrunk/reference/remove.md b/.claude-plugin/skills/worktrunk/reference/remove.md
index 2cdb81f8e..7170baaf6 100644
--- a/.claude-plugin/skills/worktrunk/reference/remove.md
+++ b/.claude-plugin/skills/worktrunk/reference/remove.md
@@ -111,4 +111,4 @@ Usage: <b><span class=c>wt remove</span></b> <span class=c>[OPTIONS]</span> <spa
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
diff --git a/.claude-plugin/skills/worktrunk/reference/select.md b/.claude-plugin/skills/worktrunk/reference/select.md
index f2dea4e09..0235996e5 100644
--- a/.claude-plugin/skills/worktrunk/reference/select.md
+++ b/.claude-plugin/skills/worktrunk/reference/select.md
@@ -72,4 +72,4 @@ Usage: <b><span class=c>wt select</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
diff --git a/.claude-plugin/skills/worktrunk/reference/step.md b/.claude-plugin/skills/worktrunk/reference/step.md
index 577774b2b..531e5e417 100644
--- a/.claude-plugin/skills/worktrunk/reference/step.md
+++ b/.claude-plugin/skills/worktrunk/reference/step.md
@@ -57,7 +57,7 @@ Usage: <b><span class=c>wt step</span></b> <span class=c>[OPTIONS]</span> <span
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt step commit
@@ -138,7 +138,7 @@ Usage: <b><span class=c>wt step commit</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt step squash
@@ -222,7 +222,7 @@ Usage: <b><span class=c>wt step squash</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt step copy-ignored
@@ -343,7 +343,7 @@ Usage: <b><span class=c>wt step copy-ignored</span></b> <span class=c>[OPTIONS]<
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
## wt step for-each
@@ -405,4 +405,4 @@ Usage: <b><span class=c>wt step for-each</span></b> <span class=c>[OPTIONS]</spa
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
diff --git a/.claude-plugin/skills/worktrunk/reference/switch.md b/.claude-plugin/skills/worktrunk/reference/switch.md
index 81ec593c2..d793fef53 100644
--- a/.claude-plugin/skills/worktrunk/reference/switch.md
+++ b/.claude-plugin/skills/worktrunk/reference/switch.md
@@ -146,4 +146,4 @@ Usage: <b><span class=c>wt switch</span></b> <span class=c>[OPTIONS]</span> <spa
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
diff --git a/docs/content/config.md b/docs/content/config.md
index 75f6655b0..5aa9ac375 100644
--- a/docs/content/config.md
+++ b/docs/content/config.md
@@ -414,7 +414,7 @@ Usage: <b><span class=c>wt config</span></b> <span class=c>[OPTIONS]</span> <spa
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt config show
@@ -458,7 +458,7 @@ Usage: <b><span class=c>wt config show</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt config state
@@ -535,7 +535,7 @@ Usage: <b><span class=c>wt config state</span></b> <span class=c>[OPTIONS]</span
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt config state default-branch
@@ -589,7 +589,7 @@ Usage: <b><span class=c>wt config state default-branch</span></b> <span class=c>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt config state ci-status
@@ -641,7 +641,7 @@ Usage: <b><span class=c>wt config state ci-status</span></b> <span class=c>[OPTI
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt config state marker
@@ -699,7 +699,7 @@ Usage: <b><span class=c>wt config state marker</span></b> <span class=c>[OPTIONS
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt config state logs
@@ -765,7 +765,7 @@ Usage: <b><span class=c>wt config state logs</span></b> <span class=c>[OPTIONS]<
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
<!-- END AUTO-GENERATED from `wt config --help-page` -->
diff --git a/docs/content/hook.md b/docs/content/hook.md
index b0df91cf6..f48cb742e 100644
--- a/docs/content/hook.md
+++ b/docs/content/hook.md
@@ -433,7 +433,7 @@ Usage: <b><span class=c>wt hook</span></b> <span class=c>[OPTIONS]</span> <span
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt hook approvals
@@ -484,7 +484,7 @@ Usage: <b><span class=c>wt hook approvals</span></b> <span class=c>[OPTIONS]</sp
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
<!-- END AUTO-GENERATED from `wt hook --help-page` -->
diff --git a/docs/content/list.md b/docs/content/list.md
index 11aaacdf3..0c4842b5b 100644
--- a/docs/content/list.md
+++ b/docs/content/list.md
@@ -319,7 +319,7 @@ Usage: <b><span class=c>wt list</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
<!-- END AUTO-GENERATED from `wt list --help-page` -->
diff --git a/docs/content/merge.md b/docs/content/merge.md
index e7ec7c1a7..4746c2bf4 100644
--- a/docs/content/merge.md
+++ b/docs/content/merge.md
@@ -139,7 +139,7 @@ Usage: <b><span class=c>wt merge</span></b> <span class=c>[OPTIONS]</span> <span
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
<!-- END AUTO-GENERATED from `wt merge --help-page` -->
diff --git a/docs/content/remove.md b/docs/content/remove.md
index a84766865..515b8b479 100644
--- a/docs/content/remove.md
+++ b/docs/content/remove.md
@@ -125,7 +125,7 @@ Usage: <b><span class=c>wt remove</span></b> <span class=c>[OPTIONS]</span> <spa
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
<!-- END AUTO-GENERATED from `wt remove --help-page` -->
diff --git a/docs/content/select.md b/docs/content/select.md
index 08a078cec..75f46c5ac 100644
--- a/docs/content/select.md
+++ b/docs/content/select.md
@@ -95,7 +95,7 @@ Usage: <b><span class=c>wt select</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
<!-- END AUTO-GENERATED from `wt select --help-page` -->
diff --git a/docs/content/step.md b/docs/content/step.md
index bf0409327..298728074 100644
--- a/docs/content/step.md
+++ b/docs/content/step.md
@@ -71,7 +71,7 @@ Usage: <b><span class=c>wt step</span></b> <span class=c>[OPTIONS]</span> <span
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt step commit
@@ -154,7 +154,7 @@ Usage: <b><span class=c>wt step commit</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt step squash
@@ -240,7 +240,7 @@ Usage: <b><span class=c>wt step squash</span></b> <span class=c>[OPTIONS]</span>
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt step copy-ignored
@@ -363,7 +363,7 @@ Usage: <b><span class=c>wt step copy-ignored</span></b> <span class=c>[OPTIONS]<
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
## wt step for-each
@@ -427,7 +427,7 @@ Usage: <b><span class=c>wt step for-each</span></b> <span class=c>[OPTIONS]</spa
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
<!-- END AUTO-GENERATED from `wt step --help-page` -->
diff --git a/docs/content/switch.md b/docs/content/switch.md
index 3fd20abbb..bbbd5c020 100644
--- a/docs/content/switch.md
+++ b/docs/content/switch.md
@@ -168,7 +168,7 @@ Usage: <b><span class=c>wt switch</span></b> <span class=c>[OPTIONS]</span> <spa
User config file path
<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
{% end %}
<!-- END AUTO-GENERATED from `wt switch --help-page` -->
diff --git a/src/cli/mod.rs b/src/cli/mod.rs
index c519caed3..5728fdb95 100644
--- a/src/cli/mod.rs
+++ b/src/cli/mod.rs
@@ -225,7 +225,7 @@ pub(crate) struct Cli {
)]
pub config: Option<std::path::PathBuf>,
- /// Show debug info (-v), or also write diagnostic report (-vv)
+ /// Show debug info and write diagnostic report (-vv)
#[arg(
long,
short = 'v',
diff --git a/src/main.rs b/src/main.rs
index c01837974..0ecf18185 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -146,8 +146,8 @@ fn main() {
}
// Configure logging based on --verbose flag or RUST_LOG env var
- // When --verbose is set, also write logs to .git/wt-logs/verbose.log
- if cli.verbose >= 1 {
+ // When -vv is set, also write logs to .git/wt-logs/verbose.log
+ if cli.verbose >= 2 {
verbose_log::init();
}
@@ -155,9 +155,9 @@ fn main() {
let verbose_level = cli.verbose;
let command_line = std::env::args().collect::<Vec<_>>().join(" ");
- // --verbose takes precedence over RUST_LOG: use Builder::new() to ignore env var
+ // -vv takes precedence over RUST_LOG: use Builder::new() to ignore env var
// Otherwise, respect RUST_LOG (defaulting to off)
- let mut builder = if cli.verbose >= 1 {
+ let mut builder = if cli.verbose >= 2 {
let mut b = env_logger::Builder::new();
b.filter_level(log::LevelFilter::Debug);
b
diff --git a/tests/integration_tests/diagnostic.rs b/tests/integration_tests/diagnostic.rs
index fb570c93b..339d0e558 100644
--- a/tests/integration_tests/diagnostic.rs
+++ b/tests/integration_tests/diagnostic.rs
@@ -397,35 +397,27 @@ fn test_vv_writes_diagnostic_on_error(mut repo: TestRepo) {
);
}
-/// With just -v (not -vv), diagnostic should NOT be written on successful commands.
-/// Diagnostics are only written when -vv is explicitly used (via main.rs hook).
+/// With just -v (not -vv), no logging files should be written.
+/// -v is reserved for future use; -vv is required for debug logging.
#[rstest]
-fn test_v_does_not_write_diagnostic_without_error(repo: TestRepo) {
+fn test_v_does_not_enable_logging(repo: TestRepo) {
// Run a successful command with just -v
let output = repo.wt_command().args(["list", "-v"]).output().unwrap();
assert!(output.status.success(), "Command should succeed");
- // Diagnostic file should NOT exist (no error, not -vv)
- let diagnostic_path = repo
- .root_path()
- .join(".git")
- .join("wt-logs")
- .join("diagnostic.md");
+ // Neither diagnostic.md nor verbose.log should exist with just -v
+ let wt_logs = repo.root_path().join(".git").join("wt-logs");
+ let diagnostic_path = wt_logs.join("diagnostic.md");
+ let verbose_log_path = wt_logs.join("verbose.log");
+
assert!(
!diagnostic_path.exists(),
- "Diagnostic file should NOT be created with just -v on success"
+ "Diagnostic file should NOT be created with just -v"
);
-
- // But verbose.log should exist
- let verbose_log_path = repo
- .root_path()
- .join(".git")
- .join("wt-logs")
- .join("verbose.log");
assert!(
- verbose_log_path.exists(),
- "verbose.log should be created with -v"
+ !verbose_log_path.exists(),
+ "verbose.log should NOT be created with just -v (requires -vv)"
);
}
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_create.snap b/tests/snapshots/integration__integration_tests__help__help_config_create.snap
index e675248ef..affef8d99 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_create.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_create.snap
@@ -11,6 +11,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -40,7 +41,7 @@ Usage: wt config create [OPTIONS]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
User config
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_long.snap b/tests/snapshots/integration__integration_tests__help__help_config_long.snap
index b07ceaaf6..e39392dd7 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_long.snap
@@ -10,6 +10,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -44,7 +45,7 @@ Usage: wt config [OPTIONS] <COMMAND>
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Examples
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_shell.snap b/tests/snapshots/integration__integration_tests__help__help_config_shell.snap
index 071710ab9..8cf188c86 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_shell.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_shell.snap
@@ -8,9 +8,10 @@ info:
- "--help"
env:
CLICOLOR_FORCE: "1"
- COLUMNS: "150"
+ COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -37,4 +38,4 @@ Usage: wt config shell [OPTIONS] <COMMAND>
Global Options:
-C <path> Working directory for this command
--config <path> User config file path
- -v, --verbose... Show debug info (-v), or also write diagnostic report (-vv)
+ -v, --verbose... Show debug info and write diagnostic report (-vv)
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_short.snap b/tests/snapshots/integration__integration_tests__help__help_config_short.snap
index e52660234..2132309d0 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_short.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_short.snap
@@ -10,6 +10,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -36,4 +37,4 @@ Usage: wt config [OPTIONS] <COMMAND>
Global Options:
-C <path> Working directory for this command
--config <path> User config file path
- -v, --verbose... Show debug info (-v), or also write diagnostic report (-vv)
+ -v, --verbose... Show debug info and write diagnostic report (-vv)
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_show.snap b/tests/snapshots/integration__integration_tests__help__help_config_show.snap
index 43e18010a..20e2852c5 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_show.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_show.snap
@@ -11,6 +11,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -40,7 +41,7 @@ Usage: wt config show [OPTIONS]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Shows location and contents of user config (~/.config/worktrunk/config.toml)
and project config (.config/wt.toml).
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state.snap b/tests/snapshots/integration__integration_tests__help__help_config_state.snap
index 95a441929..7bc918b54 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_state.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_state.snap
@@ -11,6 +11,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -47,7 +48,7 @@ Usage: wt config state [OPTIONS] <COMMAND>
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
State is stored in .git/ (config entries and log files), separate from configuration files.
Use wt config show to view file-based configuration.
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_ci_status.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_ci_status.snap
index 0500e6f05..b48ecfe88 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_state_ci_status.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_ci_status.snap
@@ -12,6 +12,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -42,7 +43,7 @@ Usage: wt config state ci-status [OPTIONS] [COMMAND]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Caches GitHub/GitLab CI status for display in wt list.
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_clear.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_clear.snap
index 3c29b47a7..360c06de6 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_state_clear.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_clear.snap
@@ -9,9 +9,10 @@ info:
- "--help"
env:
CLICOLOR_FORCE: "1"
- COLUMNS: "150"
+ COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -38,7 +39,7 @@ Usage: wt config state clear [OPTIONS]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Clears all stored state:
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_default_branch.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_default_branch.snap
index 9ce34f833..cde824efb 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_state_default_branch.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_default_branch.snap
@@ -12,6 +12,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -43,7 +44,7 @@ Usage: wt config state default-branch [OPTIONS] [COMM
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Useful in scripts to avoid hardcoding main or master:
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap
index 9ef8237f0..a9b13953a 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap
@@ -9,9 +9,10 @@ info:
- "--help"
env:
CLICOLOR_FORCE: "1"
- COLUMNS: "150"
+ COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -43,7 +44,7 @@ Usage: wt config state get [OPTIONS]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Shows all stored state including:
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_logs.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_logs.snap
index 95c3735da..3cccb2320 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_state_logs.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_logs.snap
@@ -12,6 +12,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -42,7 +43,7 @@ Usage: wt config state logs [OPTIONS] [COMMAND]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
View and manage logs from background operations.
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snap
index e78a3fbf9..25dc1eb42 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snap
@@ -12,6 +12,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -43,7 +44,7 @@ Usage: wt config state marker [OPTIONS] [COMMAND]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Custom status text or emoji shown in the wt list Status column.
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_previous_branch.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_previous_branch.snap
index f9d1d7a9c..1fb0b2fbc 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_state_previous_branch.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_previous_branch.snap
@@ -12,6 +12,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -43,7 +44,7 @@ Usage: wt config state previous-branch [OPTIONS] [COM
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Enables wt switch - to return to the previous worktree, similar to cd - or git checkout -.
diff --git a/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap b/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap
index c29968df0..a24165294 100644
--- a/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap
@@ -11,6 +11,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -41,7 +42,7 @@ Usage: wt hook approvals [OPTIONS] <COMMAND>
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Project hooks require approval on first run to prevent untrusted projects from running arbitrary commands.
diff --git a/tests/snapshots/integration__integration_tests__help__help_hook_approvals_add.snap b/tests/snapshots/integration__integration_tests__help__help_hook_approvals_add.snap
index 4d8f44378..c7d96b66c 100644
--- a/tests/snapshots/integration__integration_tests__help__help_hook_approvals_add.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_hook_approvals_add.snap
@@ -9,9 +9,10 @@ info:
- "--help"
env:
CLICOLOR_FORCE: "1"
- COLUMNS: "150"
+ COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -41,7 +42,7 @@ Usage: wt hook approvals add [OPTIONS]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Prompts for approval of all project commands and saves them to user config.
diff --git a/tests/snapshots/integration__integration_tests__help__help_hook_approvals_clear.snap b/tests/snapshots/integration__integration_tests__help__help_hook_approvals_clear.snap
index 6fc2c1b56..4bde67df7 100644
--- a/tests/snapshots/integration__integration_tests__help__help_hook_approvals_clear.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_hook_approvals_clear.snap
@@ -9,9 +9,10 @@ info:
- "--help"
env:
CLICOLOR_FORCE: "1"
- COLUMNS: "150"
+ COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -41,7 +42,7 @@ Usage: wt hook approvals clear [OPTIONS]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Removes saved approvals, requiring re-approval on next command run.
diff --git a/tests/snapshots/integration__integration_tests__help__help_list_long.snap b/tests/snapshots/integration__integration_tests__help__help_list_long.snap
index cf27bbcc0..58e37b46f 100644
--- a/tests/snapshots/integration__integration_tests__help__help_list_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_list_long.snap
@@ -60,7 +60,7 @@ Usage: wt list [OPTIONS]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Shows uncommitted changes, divergence from the default branch and remote, and optional CI status.
diff --git a/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap b/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap
index 9358a74d0..65145c7e7 100644
--- a/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap
@@ -61,7 +61,7 @@ Usage: wt list [OPTIONS]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Shows uncommitted changes, divergence from the default branch and remote, and
optional CI status.
diff --git a/tests/snapshots/integration__integration_tests__help__help_list_short.snap b/tests/snapshots/integration__integration_tests__help__help_list_short.snap
index 7f01a3b1c..5738e8fe9 100644
--- a/tests/snapshots/integration__integration_tests__help__help_list_short.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_list_short.snap
@@ -7,9 +7,10 @@ info:
- "-h"
env:
CLICOLOR_FORCE: "1"
- COLUMNS: "150"
+ COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -39,4 +40,4 @@ Usage: wt list [OPTIONS]
Global Options:
-C <path> Working directory for this command
--config <path> User config file path
- -v, --verbose... Show debug info (-v), or also write diagnostic report (-vv)
+ -v, --verbose... Show debug info and write diagnostic report (-vv)
diff --git a/tests/snapshots/integration__integration_tests__help__help_md_merge.snap b/tests/snapshots/integration__integration_tests__help__help_md_merge.snap
index 42e7644f0..44009d3a2 100644
--- a/tests/snapshots/integration__integration_tests__help__help_md_merge.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_md_merge.snap
@@ -10,6 +10,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -68,7 +69,7 @@ Global Options:
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Unlike `git merge`, this merges current into target (not target into current). Similar to clicking "Merge pull request" on GitHub, but locally. Target defaults to the default branch.
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 46196bdc1..111e3abd0 100644
--- a/tests/snapshots/integration__integration_tests__help__help_md_root.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_md_root.snap
@@ -9,6 +9,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -46,7 +47,7 @@ Global Options:
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Getting started
diff --git a/tests/snapshots/integration__integration_tests__help__help_merge_long.snap b/tests/snapshots/integration__integration_tests__help__help_merge_long.snap
index fee7606cc..fcc40cb63 100644
--- a/tests/snapshots/integration__integration_tests__help__help_merge_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_merge_long.snap
@@ -10,6 +10,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -70,7 +71,7 @@ Usage: wt merge [OPTIONS] [TARGET]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Unlike git merge, this merges current into target (not target into current). Similar to clicking "Merge pull request" on GitHub, but locally. Target defaults to the default branch.
diff --git a/tests/snapshots/integration__integration_tests__help__help_merge_short.snap b/tests/snapshots/integration__integration_tests__help__help_merge_short.snap
index 4f6213ed1..0ad8d8dd0 100644
--- a/tests/snapshots/integration__integration_tests__help__help_merge_short.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_merge_short.snap
@@ -10,6 +10,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -40,4 +41,4 @@ Usage: wt merge [OPTIONS] [TARGET]
Global Options:
-C <path> Working directory for this command
--config <path> User config file path
- -v, --verbose... Show debug info (-v), or also write diagnostic report (-vv)
+ -v, --verbose... Show debug info and write diagnostic report (-vv)
diff --git a/tests/snapshots/integration__integration_tests__help__help_no_args.snap b/tests/snapshots/integration__integration_tests__help__help_no_args.snap
index 592d78576..f3ab0364b 100644
--- a/tests/snapshots/integration__integration_tests__help__help_no_args.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_no_args.snap
@@ -8,6 +8,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -39,4 +40,4 @@ Usage: wt [OPTIONS] [COMMAND]
Global Options:
-C <path> Working directory for this command
--config <path> User config file path
- -v, --verbose... Show debug info (-v), or also write diagnostic report (-vv)
+ -v, --verbose... Show debug info and write diagnostic report (-vv)
diff --git a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap b/tests/snapshots/integration__integration_tests__help__help_remove_long.snap
index 54fbdd621..da66b48b2 100644
--- a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_remove_long.snap
@@ -10,6 +10,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -62,7 +63,7 @@ Usage: wt remove [OPTIONS] [BRANCHES]...
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Examples
diff --git a/tests/snapshots/integration__integration_tests__help__help_remove_short.snap b/tests/snapshots/integration__integration_tests__help__help_remove_short.snap
index 5fec10230..5e582db43 100644
--- a/tests/snapshots/integration__integration_tests__help__help_remove_short.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_remove_short.snap
@@ -7,9 +7,10 @@ info:
- "-h"
env:
CLICOLOR_FORCE: "1"
- COLUMNS: "150"
+ COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -39,4 +40,4 @@ Usage: wt remove [OPTIONS] [BRANCHES]...
Global Options:
-C <path> Working directory for this command
--config <path> User config file path
- -v, --verbose... Show debug info (-v), or also write diagnostic report (-vv)
+ -v, --verbose... Show debug info and write diagnostic report (-vv)
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 cf894889f..be4d0679e 100644
--- a/tests/snapshots/integration__integration_tests__help__help_root_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_root_long.snap
@@ -9,6 +9,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -48,7 +49,7 @@ Usage: wt [OPTIONS] [COMMAND]
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Getting started
diff --git a/tests/snapshots/integration__integration_tests__help__help_root_short.snap b/tests/snapshots/integration__integration_tests__help__help_root_short.snap
index 86ba8de68..151cb4f8b 100644
--- a/tests/snapshots/integration__integration_tests__help__help_root_short.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_root_short.snap
@@ -9,6 +9,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -40,4 +41,4 @@ Usage: wt [OPTIONS] [COMMAND]
Global Options:
-C <path> Working directory for this command
--config <path> User config file path
- -v, --verbose... Show debug info (-v), or also write diagnostic report (-vv)
+ -v, --verbose... Show debug info and write diagnostic report (-vv)
diff --git a/tests/snapshots/integration__integration_tests__help__help_step_long.snap b/tests/snapshots/integration__integration_tests__help__help_step_long.snap
index 151625690..d7c6d0f49 100644
--- a/tests/snapshots/integration__integration_tests__help__help_step_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_step_long.snap
@@ -10,6 +10,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -46,7 +47,7 @@ Usage: wt step [OPTIONS] <COMMAND>
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Examples
diff --git a/tests/snapshots/integration__integration_tests__help__help_step_short.snap b/tests/snapshots/integration__integration_tests__help__help_step_short.snap
index 44f3242ac..30a7e5c6b 100644
--- a/tests/snapshots/integration__integration_tests__help__help_step_short.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_step_short.snap
@@ -6,12 +6,11 @@ info:
- step
- "-h"
env:
- CARGO_LLVM_COV: "1"
CLICOLOR_FORCE: "1"
- COLUMNS: "150"
+ COLUMNS: "500"
GIT_EDITOR: ""
- LLVM_PROFILE_FILE: /Users/maximilian/workspace/worktrunk.worktreeinclude/target/llvm-cov-target/worktrunk.worktreeinclude-%p-%m.profraw
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -40,4 +39,4 @@ Usage: wt step [OPTIONS] <COMMAND>
Global Options:
-C <path> Working directory for this command
--config <path> User config file path
- -v, --verbose... Show debug info (-v), or also write diagnostic report (-vv)
+ -v, --verbose... Show debug info and write diagnostic report (-vv)
diff --git a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap b/tests/snapshots/integration__integration_tests__help__help_switch_long.snap
index c303e2b1b..806d28b49 100644
--- a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_switch_long.snap
@@ -10,6 +10,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -82,7 +83,7 @@ Usage: wt switch [OPTIONS] <BRANCH> [--
User config file path
-v, --verbose...
- Show debug info (-v), or also write diagnostic report (-vv)
+ Show debug info and write diagnostic report (-vv)
Worktrees are addressed by branch name; paths are computed from a configurable template. Unlike git switch, this navigates between worktrees rather than changing branches in place.
diff --git a/tests/snapshots/integration__integration_tests__help__help_switch_short.snap b/tests/snapshots/integration__integration_tests__help__help_switch_short.snap
index 1c0f88604..9bb19aaf8 100644
--- a/tests/snapshots/integration__integration_tests__help__help_switch_short.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_switch_short.snap
@@ -10,6 +10,7 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml
@@ -40,4 +41,4 @@ Usage: wt switch [OPTIONS] <BRANCH> [--
Global Options:
-C <path> Working directory for this command
--config <path> User config file path
- -v, --verbose... Show debug info (-v), or also write diagnostic report (-vv)
+ -v, --verbose... Show debug info and write diagnostic report (-vv)