Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
feat: Render help output with an inline Markdown renderer
Maximilian Roosa43c37368eb1
diff --git a/Cargo.lock b/Cargo.lockindex 55b093bf1..c4bd499e3 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -395,7 +395,7 @@ dependencies = ["encode_unicode","libc","once_cell",- "unicode-width 0.2.2",+ "unicode-width","windows-sys 0.61.2",]@@ -437,15 +437,6 @@ dependencies = ["unicode-segmentation",]-[[package]]-name = "coolor"-version = "1.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "980c2afde4af43d6a05c5be738f9eae595cff86dce1f38f88b95058a98c027f3"-dependencies = [- "crossterm",-]-[[package]]name = "core-foundation-sys"version = "0.8.7"@@ -494,32 +485,6 @@ dependencies = ["itertools",]-[[package]]-name = "crokey"-version = "1.3.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "51360853ebbeb3df20c76c82aecf43d387a62860f1a59ba65ab51f00eea85aad"-dependencies = [- "crokey-proc_macros",- "crossterm",- "once_cell",- "serde",- "strict",-]--[[package]]-name = "crokey-proc_macros"-version = "1.3.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3bf1a727caeb5ee5e0a0826a97f205a9cf84ee964b0b48239fef5214a00ae439"-dependencies = [- "crossterm",- "proc-macro2",- "quote",- "strict",- "syn",-]-[[package]]name = "crossbeam"version = "0.8.4"@@ -1236,29 +1201,6 @@ dependencies = ["serde",]-[[package]]-name = "lazy-regex"-version = "3.4.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "191898e17ddee19e60bccb3945aa02339e81edd4a8c50e21fd4d48cdecda7b29"-dependencies = [- "lazy-regex-proc_macros",- "once_cell",- "regex",-]--[[package]]-name = "lazy-regex-proc_macros"-version = "3.4.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c35dc8b0da83d1a9507e12122c80dea71a9c7c613014347392483a83ea593e04"-dependencies = [- "proc-macro2",- "quote",- "regex",- "syn",-]-[[package]]name = "lazy_static"version = "1.5.0"@@ -1323,15 +1265,6 @@ dependencies = ["serde",]-[[package]]-name = "minimad"-version = "0.13.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a9c5d708226d186590a7b6d4a9780e2bdda5f689e0d58cd17012a298efd745d2"-dependencies = [- "once_cell",-]-[[package]]name = "minimal-lexical"version = "0.2.1"@@ -2109,7 +2042,7 @@ dependencies = ["skim-tuikit","time","timer",- "unicode-width 0.2.2",+ "unicode-width","vte 0.15.0","which",]@@ -2132,7 +2065,7 @@ dependencies = ["nix 0.29.0","skim-common","term",- "unicode-width 0.2.2",+ "unicode-width",][[package]]@@ -2153,12 +2086,6 @@ version = "0.1.9"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520"-[[package]]-name = "strict"-version = "0.2.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f42444fea5b87a39db4218d9422087e66a85d0e7a0963a439b07bcdf91804006"-[[package]]name = "strsim"version = "0.11.1"@@ -2207,7 +2134,7 @@ dependencies = ["if_chain","nohash-hasher","regex",- "unicode-width 0.2.2",+ "unicode-width",][[package]]@@ -2234,22 +2161,6 @@ dependencies = ["winapi",]-[[package]]-name = "termimad"-version = "0.34.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "68ff5ca043d65d4ea43b65cdb4e3aba119657d0d12caf44f93212ec3168a8e20"-dependencies = [- "coolor",- "crokey",- "crossbeam",- "lazy-regex",- "minimad",- "serde",- "thiserror 2.0.17",- "unicode-width 0.1.14",-]-[[package]]name = "terminal_size"version = "0.4.3"@@ -2499,12 +2410,6 @@ version = "1.12.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"-[[package]]-name = "unicode-width"-version = "0.1.14"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"-[[package]]name = "unicode-width"version = "0.2.2"@@ -2568,7 +2473,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "054ff75fb8fa83e609e685106df4faeffdf3a735d3c74ebce97ec557d5d36fd9"dependencies = ["itoa",- "unicode-width 0.2.2",+ "unicode-width","vte 0.15.0",]@@ -3001,13 +2906,12 @@ dependencies = ["strum","synoptic","tempfile",- "termimad","terminal_size","toml","tree-sitter","tree-sitter-bash","tree-sitter-highlight",- "unicode-width 0.2.2",+ "unicode-width","vergen-gitcl","vt100",]diff --git a/Cargo.toml b/Cargo.tomlindex ce317c3ae..4fa3dfc5b 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -61,7 +61,6 @@ shellexpand = "3.1"strum = { version = "0.27", features = ["derive"] }synoptic = "2"terminal_size = "0.4"-termimad = "0.34"toml = { version = "0.9", features = ["preserve_order"] }# All three crates must use the same version series to avoid native library conflicts# These are optional dependencies controlled by the "syntax-highlighting" feature.diff --git a/src/main.rs b/src/main.rsindex 9b1fb6d80..d59245746 100644--- a/src/main.rs+++ b/src/main.rs@@ -84,7 +84,7 @@ fn maybe_handle_help_with_pager() -> bool {fn main() {// Tell crossterm to always emit ANSI sequences- termimad::crossterm::style::force_color_output(true);+ crossterm::style::force_color_output(true);if completion::maybe_handle_env_completion() {return;