1 2 3 4 5 6 7
use ayun_core::{traits::ApplicationTrait, Result}; pub trait CommandTrait { fn command() -> clap::Command; fn handle<A: ApplicationTrait>(arg_matches: clap::ArgMatches) -> Result<()>; }