pub trait Command {
// Required method
fn execute(&self) -> Result<(), String>;
}
Expand description
§Command interface
Each command from cli should implement this.
pub trait Command {
// Required method
fn execute(&self) -> Result<(), String>;
}
Each command from cli should implement this.