feat(cli): accept 'powershell' for completions subcommand (#7028)

---------

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
fankex
2025-10-22 02:03:15 +08:00
committed by GitHub
parent 31d890cb7c
commit 4caee4a7ca
+2 -1
View File
@@ -26,12 +26,13 @@ struct Cli {
command: Commands,
}
#[derive(clap::Parser, ValueEnum, Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, ValueEnum)]
enum CompletionShell {
Bash,
Elvish,
Fish,
Nushell,
#[clap(name = "powershell", alias = "pwsh", alias = "power-shell")]
PowerShell,
Zsh,
}