Skip to main content

CliRunnable

Trait CliRunnable 

Source
pub trait CliRunnable: Debug + Send {
    // Required method
    fn run<'a>(
        &'a self,
        args: &'a HashMap<&str, &Argument>,
    ) -> Pin<Box<dyn Future<Output = Result<Option<CmdResult>, CommandError>> + Send + 'a>>;
}

Required Methods§

Source

fn run<'a>( &'a self, args: &'a HashMap<&str, &Argument>, ) -> Pin<Box<dyn Future<Output = Result<Option<CmdResult>, CommandError>> + Send + 'a>>

Implementors§