implement nushell completions

This commit is contained in:
2026-03-23 16:34:19 -05:00
parent 3c4bfca546
commit 7446fcbb43
3 changed files with 19 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ enum ShellCompletions {
Fish,
PowerShell,
Zsh,
Nushell,
}
impl App {
@@ -158,6 +159,12 @@ impl App {
name,
&mut std::io::stdout(),
),
ShellCompletions::Nushell => clap_complete::generate(
clap_complete_nushell::Nushell,
&mut command,
name,
&mut std::io::stdout(),
),
}
}
UtilSubcommand::GenCompileCommands { mode } => {