1 use crate::error::CommandError;
2
3 /// The common trait for rhg commands
4 ///
5 /// Normalize the interface of the commands provided by rhg
6 pub trait Command {
7 fn run(&self) -> Result<(), CommandError>;
8 }