/// Create a new subcommand group using the template that sets all the common settings.
/// This is not intended for actual commands, but for subcommands that host a bunch of other
/// subcommands.
Create a new subcommand group using the template that sets all the common settings.
This is not intended for actual commands, but for subcommands that host a bunch of other
subcommands.
Create a new subcommand group using the template that sets all the common settings . This is not intended for actual commands but for subcommands that host a bunch of other subcommands .
pub fn subcommand_group<'a>(name: &'static str, about: &'static str) -> clap::App<'a, 'a> {
	clap::SubCommand::with_name(name).about(about).settings(&[
		clap::AppSettings::SubcommandRequiredElseHelp,
		clap::AppSettings::DisableHelpSubcommand,
		clap::AppSettings::VersionlessSubcommands,
		clap::AppSettings::UnifiedHelpMessage,
	])
}
pub fn subcommand_group < ' a > ( name : & ' static str , about : & ' static str ) -> clap :: App < ' a , ' a > { clap :: SubCommand :: with_name ( name ) . about ( about ) . settings ( & [ clap :: AppSettings :: SubcommandRequiredElseHelp , clap :: AppSettings :: DisableHelpSubcommand , clap :: AppSettings :: VersionlessSubcommands , clap :: AppSettings :: UnifiedHelpMessage , ] ) }
Create a new subcommand group using the template that sets all the common settings.
Create a new subcommand group using the template that sets all the common settings .
name
&'static str
about
&'static str