Skip to content

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

Format file paths in backticks for consistent code styling

Maximilian Roos3a0a1404b3a3
diff --git a/docs/content/config.md b/docs/content/config.md
index a0921b448..d139deeaf 100644
--- a/docs/content/config.md
+++ b/docs/content/config.md
@@ -31,7 +31,7 @@ Create user config file with documented examples:
wt config create
```
-Create project config file (.config/wt.toml) for hooks:
+Create project config file (`.config/wt.toml`) for hooks:
```bash
wt config create --project
diff --git a/src/cli.rs b/src/cli.rs
index c84c62ee7..101e3f9e4 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -283,7 +283,7 @@ pub enum ConfigCommand {
)
)]
Create {
- /// Create project config (.config/wt.toml) instead of user config
+ /// Create project config (`.config/wt.toml`) instead of user config
#[arg(long)]
project: bool,
},
@@ -353,7 +353,7 @@ wt config var clear marker --all
/// Manage command approvals
#[command(after_long_help = r#"## How Approvals Work
-Commands from project hooks (.config/wt.toml) and LLM configuration require
+Commands from project hooks (`.config/wt.toml`) and LLM configuration require
approval on first run. This prevents untrusted projects from running arbitrary
commands.
@@ -726,7 +726,7 @@ Create user config file with documented examples:
wt config create
```
-Create project config file (.config/wt.toml) for hooks:
+Create project config file (`.config/wt.toml`) for hooks:
```console
wt config create --project
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_approvals.snap b/tests/snapshots/integration__integration_tests__help__help_config_approvals.snap
index 50947042d..614afaa85 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_approvals.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_approvals.snap
@@ -41,7 +41,7 @@ Usage: wt config approvals [OPTIONS] <COMMAND>
How Approvals Work
-Commands from project hooks (.config/wt.toml) and LLM configuration require
+Commands from project hooks (.config/wt.toml) and LLM configuration require
approval on first run. This prevents untrusted projects from running arbitrary
commands.
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 4e86bd2c1..5257a1453 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_create.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_create.snap
@@ -23,7 +23,7 @@ Usage: wt config create [OPTIONS]
Options:
--project
- Create project config (.config/wt.toml) instead of user config
+ Create project config (.config/wt.toml) instead of user config
-h, --help
Print help (see a summary with '-h')
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 34464da6a..664471707 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_long.snap
@@ -61,7 +61,7 @@ Create user config file with documented examples:
wt config create
-Create project config file (.config/wt.toml) for hooks:
+Create project config file (.config/wt.toml) for hooks:
wt config create --project