pub mod get;
pub mod list;
use crate::cmd::AsyncCliCommand;
#[derive(clap::Subcommand, Debug)]
pub enum CmdApp {
Get(get::CmdAppGet),
List(list::CmdAppList),
}
impl AsyncCliCommand for CmdApp {
fn run_async(self) -> futures::future::BoxFuture<'static, Result<(), anyhow::Error>> {
match self {
Self::Get(cmd) => cmd.run_async(),
Self::List(cmd) => cmd.run_async(),
}
}
}