1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod init;
pub mod watch;
pub mod watch_non_block;

pub use crate::cli::init::InitCommand;
pub use crate::cli::watch::WatchCommand;
pub use crate::cli::watch_non_block::WatchNonBlockCommand;

/// # Command interface
///
/// Each command from cli should implement this.
///
pub trait Command {
    fn execute(&self) -> Result<(), String>;
}