wapm_cli/commands/completions.rs
1use structopt::{clap::AppSettings, clap::Shell, StructOpt};
2
3#[derive(StructOpt, Debug)]
4#[structopt(setting = AppSettings::Hidden)]
5pub struct CompletionOpt {
6 /// The shell to generate the completions script for
7 #[structopt(name = "SHELL", hidden = true, parse(try_from_str))]
8 pub shell: Shell,
9}