[PR Feedback] remove unnecessary doc comment, fix variant
@@ -17,23 +17,21 @@ arg_enum! {
#[structopt(no_version)]
/// Commands relating to Habitat runtime config
pub enum Cli {
- /// Sets up the CLI with reasonable defaults
- Setup(CacheKeyPath),
- /// Creates command-line completers for your shell
+ Setup(CliSetup),
Completers(CliCompleters),
}
+/// Sets up the CLI with reasonable defaults
#[derive(ConfigOpt, StructOpt)]
#[structopt(name = "setup", no_version, rename_all = "screamingsnake")]
-/// Sets up the CLI with reasonable defaults
pub struct CliSetup {
#[structopt(flatten)]
cache_key_path: CacheKeyPath,
}
+/// Creates command-line completers for your shell
#[derive(ConfigOpt, StructOpt)]
#[structopt(name = "completers", no_version, rename_all = "screamingsnake")]
-/// Creates command-line completers for your shell
pub struct CliCompleters {
/// The name of the shell you want to generate the command-completion
#[structopt(name = "SHELL",
