Trait clap::CommandFactory
source · [−]pub trait CommandFactory: Sized {
fn command() -> Command;
fn command_for_update() -> Command;
}
Expand description
Required Methods
Build a Command
that can instantiate Self
.
See FromArgMatches::from_arg_matches_mut
for instantiating Self
.
fn command_for_update() -> Command
fn command_for_update() -> Command
Build a Command
that can update self
.
See FromArgMatches::update_from_arg_matches_mut
for updating self
.