pub trait IntoApp: Sized {
fn into_app<'help>() -> Command<'help>;
fn into_app_for_update<'help>() -> Command<'help>;
fn command<'help>() -> Command<'help> { ... }
fn command_for_update<'help>() -> Command<'help> { ... }
}Expand description
Required methods
👎 Deprecated since 3.1.0:
Replaced with `CommandFactory::command
Deprecated, replaced with CommandFactory::command
fn into_app_for_update<'help>() -> Command<'help>
fn into_app_for_update<'help>() -> Command<'help>
👎 Deprecated since 3.1.0:
Replaced with `CommandFactory::command_for_update
Deprecated, replaced with CommandFactory::command_for_update
Provided methods
Build an Command that can instantiate Self.
See FromArgMatches::from_arg_matches for instantiating Self.
fn command_for_update<'help>() -> Command<'help>
fn command_for_update<'help>() -> Command<'help>
Build an Command that can update self.
See FromArgMatches::update_from_arg_matches for updating self.
