1
2
3
4
5
6
7
use crate::error::Error;

/// Represent an application or a subcommand.
pub trait Run {
    /// Run the application or subcommand.
    fn run(self) -> Result<(), Error>;
}