feat: Support completion generating #41

Merged
awiteb merged 2 commits from awiteb/fix-20 into master 2024-05-10 13:02:42 +02:00 AGit
2 changed files with 11 additions and 0 deletions
Showing only changes of commit ece9f886ee - Show all commits

10
Cargo.lock generated
View file

@ -228,6 +228,15 @@ dependencies = [
"strsim", "strsim",
] ]
[[package]]
name = "clap_complete"
version = "4.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd79504325bf38b10165b02e89b4347300f855f273c4cb30c4a3209e6583275e"
dependencies = [
"clap",
]
[[package]] [[package]]
name = "clap_derive" name = "clap_derive"
version = "4.5.4" version = "4.5.4"
@ -720,6 +729,7 @@ dependencies = [
"bincode", "bincode",
"cbc", "cbc",
"clap", "clap",
"clap_complete",
"directories", "directories",
"inquire", "inquire",
"log", "log",

View file

@ -29,6 +29,7 @@ aes = "0.8.4"
sha2 = "0.10.8" sha2 = "0.10.8"
serde_json = "1.0.116" serde_json = "1.0.116"
base64 = "0.22.1" base64 = "0.22.1"
clap_complete = "4.5.2"
[features] [features]
default = ["update-notify"] default = ["update-notify"]