1
2
3
4
5
6
7
8
use crate::Result;
use ayun_core::traits::ApplicationTrait;

pub trait CommandTrait {
    fn command() -> clap::Command;

    fn handle<A: ApplicationTrait>(arg_matches: clap::ArgMatches) -> Result<()>;
}