Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Combine config hint messages for brevity
Maximilian Roos5f304744c937
diff --git a/src/commands/config.rs b/src/commands/config.rsindex a490ae23d..eb1bb2226 100644--- a/src/commands/config.rs+++ b/src/commands/config.rs@@ -87,10 +87,7 @@ fn create_config_file()))?;output::blank()?;output::print(hint_message(cformat!(- "Use <bright-black>wt config show</> to view existing configuration"- )))?;- output::print(hint_message(cformat!(- "Use <bright-black>wt config create --help</> for config format reference"+ "Use <bright-black>wt config show</> to view, or <bright-black>wt config create --help</> for format reference")))?;return Ok(());}@@ -216,16 +213,11 @@ fn render_user_config(out: &mut String) -> anyhow::Result<()> {// Check if file existsif !config_path.exists() {- writeln!(- out,- "{}",- cformat!("{HINT_EMOJI} <dim>Not found (using defaults)</>")- )?;writeln!(out,"{}",cformat!(- "{HINT_EMOJI} <dim>Run <bright-black>wt config create</> to create a config file</>"+ "{HINT_EMOJI} <dim>Not found (using defaults); run <bright-black>wt config create</> to create</>"))?;writeln!(out)?;diff --git a/tests/integration_tests/config_init.rs b/tests/integration_tests/config_init.rsindex 82f8e360f..4167afa80 100644--- a/tests/integration_tests/config_init.rs+++ b/tests/integration_tests/config_init.rs@@ -32,8 +32,7 @@ fn test_config_init_already_exists() {----- stderr -----⚪ User config already exists: [1m~/.config/worktrunk/config.toml[22m- 💡 [2mUse [90mwt config show[39m to view existing configuration[22m- 💡 [2mUse [90mwt config create --help[39m for config format reference[22m+ 💡 [2mUse [90mwt config show[39m to view, or [90mwt config create --help[39m for format reference[22m");});}