Skip to main content

CommandInfo

Type Alias CommandInfo 

Source
pub type CommandInfo = CommandInfo<'static>;
Expand description

Information about a particular command used for output.

Aliased Type§

pub struct CommandInfo {
    pub name: &'static str,
    pub short: &'static char,
    pub description: &'static str,
}

Fields§

§name: &'static str

The name of the command.

§short: &'static char

A short name for the command (alias).

§description: &'static str

A short description of the command’s functionality.