diff --git a/__crypto/simple_contract/src/cmd.rs b/__crypto/simple_contract/src/cmd.rs index 8cdc3f5..3a0da05 100644 --- a/__crypto/simple_contract/src/cmd.rs +++ b/__crypto/simple_contract/src/cmd.rs @@ -4,6 +4,8 @@ pub type CommandError = XResult<()>; pub trait Command { fn name(&self) -> &str; + fn subcommand<'a>(&self) -> App<'a, 'a>; + fn run(&self, arg_matches: &ArgMatches, _: &ArgMatches) -> CommandError; }