[][src]Trait cliargs_t::Command

pub trait Command {
    pub fn execute_command(&self, flags: HashMap<String, String>);
pub fn get_information(&self) -> CommandInformation; }

Implementors of this trait handle a specific command's execution.

Required methods

pub fn execute_command(&self, flags: HashMap<String, String>)[src]

The implementation of this function should execute the command with the given flag information.

pub fn get_information(&self) -> CommandInformation[src]

Returns general information about the command such as its name, help text, flags, and the flag's help information.

Loading content...

Implementors

impl Command for HelpCommand[src]

Loading content...