Support for completions

This commit is contained in:
Jedsek
2022-08-22 19:31:12 +08:00
committed by andy.boot
parent 5980858b39
commit 81d52e6e3a
11 changed files with 476 additions and 155 deletions
Generated
+10 -1
View File
@@ -84,12 +84,20 @@ dependencies = [
"bitflags",
"clap_lex",
"indexmap",
"once_cell",
"strsim",
"termcolor",
"textwrap",
]
[[package]]
name = "clap_complete"
version = "3.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4179da71abd56c26b54dd0c248cc081c1f43b0a1a7e8448e28e57a29baa993d"
dependencies = [
"clap",
]
[[package]]
name = "clap_lex"
version = "0.2.4"
@@ -194,6 +202,7 @@ dependencies = [
"ansi_term",
"assert_cmd",
"clap",
"clap_complete",
"config-file",
"directories",
"lscolors",