implement nushell completions (#24)

closes #19

Reviewed-on: http://192.168.1.227:3000/sfrembling/pallet/pulls/24
Co-authored-by: godsfryingpan <sfrembling@gmail.com>
Co-committed-by: godsfryingpan <sfrembling@gmail.com>
This commit was merged in pull request #24.
This commit is contained in:
2026-03-23 15:34:36 -06:00
committed by sfrembling
parent 3c4bfca546
commit c5ecb78fd4
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 } => {