mirror of https://github.com/XAMPPRocky/tokei
Add colors to --help (#1296)
This commit is contained in:
parent
179155fe73
commit
6f3556bd66
|
|
@ -206,6 +206,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019"
|
||||
dependencies = [
|
||||
"clap_builder",
|
||||
"clap_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clap-cargo"
|
||||
version = "0.13.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "38ae55615695e768a76899c8411b4ebacfbe525e964f94fd24f0007b10b45cd3"
|
||||
dependencies = [
|
||||
"anstyle",
|
||||
"clap",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -221,6 +232,18 @@ dependencies = [
|
|||
"terminal_size",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clap_derive"
|
||||
version = "4.5.13"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0"
|
||||
dependencies = [
|
||||
"heck",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clap_lex"
|
||||
version = "0.7.2"
|
||||
|
|
@ -1354,11 +1377,12 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
|||
|
||||
[[package]]
|
||||
name = "tokei"
|
||||
version = "13.0.0-alpha.9"
|
||||
version = "13.0.0"
|
||||
dependencies = [
|
||||
"aho-corasick",
|
||||
"arbitrary",
|
||||
"clap",
|
||||
"clap-cargo",
|
||||
"colored",
|
||||
"crossbeam-channel",
|
||||
"dashmap",
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ regex = "1.10.6"
|
|||
serde_json = "1.0.125"
|
||||
etcetera = "0.8.0"
|
||||
table_formatter = "0.6.1"
|
||||
clap-cargo = "0.13.0"
|
||||
|
||||
[dependencies.env_logger]
|
||||
optional = true
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ impl Cli {
|
|||
let matches = clap::Command::new("tokei")
|
||||
.version(crate_version())
|
||||
.author("Erin P. <xampprocky@gmail.com> + Contributors")
|
||||
.styles(clap_cargo::style::CLAP_STYLING)
|
||||
.about(concat!(
|
||||
crate_description!(),
|
||||
"\n",
|
||||
|
|
|
|||
Loading…
Reference in New Issue