Add shell completion (#251)

* add commandline argument to generate shell completion

* update changelog

* fixup! add commandline argument to generate shell completion

* Update option name and description

---------

Co-authored-by: David Peter <mail@david-peter.de>
This commit is contained in:
Friedrich 'friedɀ' SchwedlerandDavid Peter authored and GitHub committed 2025-08-31 21:39:17 +02:00
1 parent 909dd7d947
commit 585d06293a
4 files changed
+25 -1

No files matched your search

Generated
+10
View File
@@ -128,6 +128,15 @@ dependencies = [
"terminal_size",
]
[[package]]
name = "clap_complete"
version = "4.5.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a5abde44486daf70c5be8b8f8f1b66c49f86236edf6fa2abadb4d961c4c6229a"
dependencies = [
"clap",
]
[[package]]
name = "clap_derive"
version = "4.5.18"
@@ -222,6 +231,7 @@ dependencies = [
"anyhow",
"assert_cmd",
"clap",
"clap_complete",
"const_format",
"libc",
"owo-colors",