##// END OF EJS Templates
rhg: add a `DebugData` `Command` to prepare the `rhg debugdata` subcommand...
rhg: add a `DebugData` `Command` to prepare the `rhg debugdata` subcommand Differential Revision: https://phab.mercurial-scm.org/D8960

File last commit:

r46099:66756b34 default
r46099:66756b34 default
Show More
commands.rs
12 lines | 280 B | application/rls-services+xml | RustLexer
pub mod debugdata;
pub mod files;
pub mod root;
use crate::error::CommandError;
use crate::ui::Ui;
/// The common trait for rhg commands
///
/// Normalize the interface of the commands provided by rhg
pub trait Command {
fn run(&self, ui: &Ui) -> Result<(), CommandError>;
}