Skip to content

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

Refactor: Update `StepCommand` description and snapshot

Maximilian Roos00c396f1a280
diff --git a/README.md b/README.md
index af50a93b2..33350636a 100644
--- a/README.md
+++ b/README.md
@@ -878,7 +878,7 @@ Docs: <https://llm.datasette.io/> | <https://github.com/sigoden/aichat>
<!-- README:help:wt step --help-md -->
```text
-wt step — Primitive operations (building blocks for workflows)
+wt step — Workflow building blocks
Usage: step <COMMAND>
Commands:
diff --git a/src/cli.rs b/src/cli.rs
index a8a910dbe..b2cad5eb5 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -394,7 +394,7 @@ Stored in git config under `worktrunk.status.<branch>`."#
},
}
-/// Primitive operations (building blocks for workflows)
+/// Workflow building blocks
#[derive(Subcommand)]
pub enum StepCommand {
/// Commit changes with LLM commit message
@@ -584,7 +584,7 @@ Docs: <https://llm.datasette.io/> | <https://github.com/sigoden/aichat>
action: ConfigCommand,
},
- /// Primitive operations (building blocks for workflows)
+ /// Workflow building blocks
#[command(name = "step")]
Step {
#[command(subcommand)]
diff --git a/tests/snapshots/integration__integration_tests__help__help_root.snap b/tests/snapshots/integration__integration_tests__help__help_root.snap
index 11d00342a..70f7404b1 100644
--- a/tests/snapshots/integration__integration_tests__help__help_root.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_root.snap
@@ -18,7 +18,7 @@ Usage: wt [OPTIONS] <COMMAND>
Commands:
config Manage configuration and shell integration
- step Primitive operations (building blocks for workflows)
+ step Workflow building blocks
list List worktrees and optionally branches
switch Switch to a worktree
remove Remove worktree and branch