structopt_utilities/completions/
mod.rs

1//! Resources to create a completion generator program.
2
3mod exec;
4mod new;
5mod shell;
6
7pub use shell::Shell;
8
9use std::path::PathBuf;
10
11/// Arguments of a completion generator program.
12#[derive(Debug, Clone, Eq, PartialEq)]
13pub struct App {
14    /// Binary name.
15    pub bin: String,
16
17    /// File to write to.
18    /// `None` translates to stdout.
19    pub output: Option<PathBuf>,
20
21    /// Type of shell.
22    pub shell: Shell,
23}