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