mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-08 19:56:39 +00:00
feat: add color and wrapping to help text (#2052)
* feat: add color to help text Uses the same coloring that cargo uses to make it easier to skim read the help * fix: wrap help text * fix: shorten value placeholders in help text * fix: docs for override help text
This commit is contained in:
parent
2c624c26f4
commit
95a9818565
3 changed files with 53 additions and 14 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
@ -578,6 +578,7 @@ dependencies = [
|
|||
"binstalk",
|
||||
"binstalk-manifests",
|
||||
"clap",
|
||||
"clap-cargo",
|
||||
"compact_str",
|
||||
"dirs",
|
||||
"embed-resource",
|
||||
|
@ -715,6 +716,16 @@ dependencies = [
|
|||
"clap_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clap-cargo"
|
||||
version = "0.15.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d546f0e84ff2bfa4da1ce9b54be42285767ba39c688572ca32412a09a73851e5"
|
||||
dependencies = [
|
||||
"anstyle",
|
||||
"clap",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clap_builder"
|
||||
version = "4.5.29"
|
||||
|
@ -725,6 +736,7 @@ dependencies = [
|
|||
"anstyle",
|
||||
"clap_lex",
|
||||
"strsim",
|
||||
"terminal_size",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue