Show More
@@ -0,0 +1,8 b'' | |||
|
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 | } |
General Comments 0
You need to be logged in to leave comments.
Login now