1 2 3 4 5 6 7 8 9 10 11 12
use clap::Args; #[derive(Args, Debug)] pub struct CompletionArgs { /// Target shell: zsh, bash, or fish. #[arg(long, default_value = "zsh")] pub shell: String, /// Install completions to the shell profile. #[arg(long)] pub install: bool, }