[−][src]Trait tmkms::prelude::Command
Commonly used Abscissa traits
Subcommand of an application: derives or otherwise implements the Options
trait, but also has a call()
method which can be used to invoke the given
(sub)command.
Required methods
fn name() -> &'static str
Name of this program as a string
fn description() -> &'static str
Description of this program
fn version() -> &'static str
Version of this program
fn authors() -> &'static str
Authors of this program
Provided methods
fn from_args<A>(into_args: A) -> Self where
A: IntoIterator<Item = String>,
A: IntoIterator<Item = String>,
Parse command-line arguments from a string iterator
fn from_env_args() -> Self
Parse command-line arguments from the environment
fn print_usage_and_exit(args: &[String]) -> !
Print usage information and exit
fn subcommand_usage(_command: &str) -> Option<Usage>
Get usage information for a particular subcommand (if available)
Implementations on Foreign Types
impl<C> Command for Help<C> where
C: Command,
[src]
C: Command,
pub fn name() -> &'static str
[src]
pub fn description() -> &'static str
[src]
pub fn version() -> &'static str
[src]
pub fn authors() -> &'static str
[src]
impl<Cmd> Command for EntryPoint<Cmd> where
Cmd: Command + Runnable,
[src]
Cmd: Command + Runnable,
pub fn name() -> &'static str
[src]
Name of this program as a string
pub fn description() -> &'static str
[src]
Description of this program
pub fn version() -> &'static str
[src]
Version of this program
pub fn authors() -> &'static str
[src]
Authors of this program
pub fn subcommand_usage(command: &str) -> Option<Usage>
[src]
Get usage information for a particular subcommand (if available)
Implementors
impl Command for KmsCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
fn subcommand_usage(command: &str) -> Option<Usage>
[src]
get usage information for the named subcommand
impl Command for LedgerCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
fn subcommand_usage(command: &str) -> Option<Usage>
[src]
get usage information for the named subcommand
impl Command for SoftsignCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
fn subcommand_usage(command: &str) -> Option<Usage>
[src]
get usage information for the named subcommand
impl Command for KeysCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
fn subcommand_usage(command: &str) -> Option<Usage>
[src]
get usage information for the named subcommand
impl Command for YubihsmCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
fn subcommand_usage(command: &str) -> Option<Usage>
[src]
get usage information for the named subcommand
impl Command for tmkms::commands::init::InitCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
impl Command for tmkms::commands::ledger::InitCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
impl Command for StartCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
impl Command for VersionCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
impl Command for DetectCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program
impl Command for SetupCommand
[src]
fn name() -> &'static str
[src]
Name of this program as a string
fn description() -> &'static str
[src]
Description of this program
fn version() -> &'static str
[src]
Version of this program
fn authors() -> &'static str
[src]
Authors of this program