Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs: Refer to `wt config create --help`
Maximilian Roos79ead88546ff
diff --git a/README.md b/README.mdindex 87b7dfbaa..af4fdf0ba 100644--- a/README.md+++ b/README.md@@ -796,7 +796,7 @@ Docs: https://llm.datasette.io/ | https://github.com/sigoden/aichat**Global config** (user settings):- Location: `~/.config/worktrunk/config.toml` (or `WORKTRUNK_CONFIG_PATH`)-- Run `wt config create` to generate with documented examples+- Run `wt config create --help` to view documented examples**Project config** (repository hooks):- Location: `.config/wt.toml` in repository rootdiff --git a/src/cli.rs b/src/cli.rsindex 68188f8ba..0316a66f0 100644--- a/src/cli.rs+++ b/src/cli.rs@@ -521,7 +521,7 @@ Docs: https://llm.datasette.io/ | https://github.com/sigoden/aichat**Global config** (user settings):- Location: `~/.config/worktrunk/config.toml` (or `WORKTRUNK_CONFIG_PATH`)-- Run `wt config create` to generate with documented examples+- Run `wt config create --help` to view documented examples**Project config** (repository hooks):- Location: `.config/wt.toml` in repository rootdiff --git a/src/commands/config.rs b/src/commands/config.rsindex 674ed1f22..efe9e58ea 100644--- a/src/commands/config.rs+++ b/src/commands/config.rs@@ -48,6 +48,9 @@ pub fn handle_config_create() -> anyhow::Result<()> {);println!();println!("{HINT_EMOJI} {HINT}Use 'wt config list' to view existing configuration{HINT:#}");+ println!(+ "{HINT_EMOJI} {HINT}Use 'wt config create --help' for config format reference{HINT:#}"+ );return Ok(());}diff --git a/tests/integration_tests/config_init.rs b/tests/integration_tests/config_init.rsindex 6583ece27..3276e8691 100644--- a/tests/integration_tests/config_init.rs+++ b/tests/integration_tests/config_init.rs@@ -31,6 +31,7 @@ fn test_config_init_already_exists() {⚪ Global config already exists: [1m~/.config/worktrunk/config.toml[0m💡 [2mUse 'wt config list' to view existing configuration[0m+ 💡 [2mUse 'wt config create --help' for config format reference[0m----- stderr -----");diff --git a/tests/snapshots/integration__integration_tests__help__help_config.snap b/tests/snapshots/integration__integration_tests__help__help_config.snapindex 946f7fa6c..43722cb96 100644--- a/tests/snapshots/integration__integration_tests__help__help_config.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config.snap@@ -77,7 +77,7 @@ Docs: https://llm.datasette.io/ | https://github.com/sigoden/aichat[1mGlobal config[0m (user settings):- Location: [2m~/.config/worktrunk/config.toml[0m (or [2mWORKTRUNK_CONFIG_PATH[0m)-- Run [2mwt config create[0m to generate with documented examples+- Run [2mwt config create --help[0m to view documented examples[1mProject config[0m (repository hooks):- Location: [2m.config/wt.toml[0m in repository root