pub trait SimpleCommand: Command<Input = ()> {
// Provided method
fn run_simple(&self) -> Result<Self::Output> { ... }
}
Expand description
Helper trait for commands with no input parameters
Provided Methods§
fn run_simple(&self) -> Result<Self::Output>
Implementors§
impl<T> SimpleCommand for T
Auto-implement SimpleCommand for commands with () input