[−][src]Trait argh::FromArgs
Types which can be constructed from a set of commandline arguments.
Required methods
fn from_args(command_name: &[&str], args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments.
The first argument command_name
is the identifier for the current
command, treating each segment as space-separated. This is to be
used in the output of --help
, --version
, and similar flags.