commands.rs
8 lines
| 204 B
| application/rls-services+xml
|
RustLexer
Antoine Cezar
|
r45515 | use crate::error::CommandError; | ||
/// The common trait for rhg commands | ||||
/// | ||||
/// Normalize the interface of the commands provided by rhg | ||||
pub trait Command { | ||||
fn run(&self) -> Result<(), CommandError>; | ||||
} | ||||