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

File last commit:

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