1
2
3
4
5
6
7
8
9
use cgp::core::async_trait;

use crate::output::Output;
use crate::Result;

#[async_trait]
pub trait CommandRunner<Context> {
    async fn run(&self, context: &Context) -> Result<Output>;
}