mirror of
https://github.com/qwjyh/xdbm
synced 2025-07-17 03:59:19 +09:00
add shell completion script generation
This commit is contained in:
parent
f5fe3d6580
commit
8396b8c97d
5 changed files with 33 additions and 1 deletions
|
@ -55,6 +55,11 @@ pub(crate) enum Commands {
|
|||
|
||||
/// Check config files.
|
||||
Check {},
|
||||
|
||||
/// Generate completion script.
|
||||
Completion {
|
||||
shell: clap_complete::Shell,
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Args, Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue