soph_console/traits/
command.rs1use crate::{async_trait, traits::ApplicationTrait, Result};
2
3#[async_trait]
4pub trait CommandTrait {
5 fn command() -> clap::Command;
6
7 async fn handle<A: ApplicationTrait>(arg_matches: clap::ArgMatches) -> Result<()>;
8}