diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-23 19:56:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 19:56:50 +0100 |
commit | cc05dc142d1c57afd10cb08d84f99a25bd49678c (patch) | |
tree | bb825c0e1e43465bb6214b6a485d67880b68cf8d /Cargo.lock | |
parent | d1eed9896f1dee6974816f1c16c46a1c4de0120c (diff) |
chore: make deno --help more colorful (#21962)
This commit adds coloring to "--help" flag.
Before:
https://github.com/denoland/deno/assets/13602871/23753f95-3289-45bc-8a1e-842d0ccd92df
After:
https://github.com/denoland/deno/assets/13602871/91b035cc-f199-4cf4-a77c-f65b290b5e19
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 4c3440e8c..e46621346 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -635,6 +635,27 @@ dependencies = [ ] [[package]] +name = "color-print" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a858372ff14bab9b1b30ea504f2a4bc534582aee3e42ba2d41d2a7baba63d5d" +dependencies = [ + "color-print-proc-macro", +] + +[[package]] +name = "color-print-proc-macro" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57e37866456a721d0a404439a1adae37a31be4e0055590d053dfe6981e05003f" +dependencies = [ + "nom 7.1.3", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] name = "color_quant" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -955,6 +976,7 @@ dependencies = [ "clap", "clap_complete", "clap_complete_fig", + "color-print", "console_static_text", "dashmap", "data-encoding", |