wasmer_cli/commands/app/regions/
mod.rs

1use crate::commands::AsyncCliCommand;
2
3pub mod list;
4mod utils;
5
6/// Informations about available Edge regioins.
7#[derive(Debug, clap::Parser)]
8pub enum CmdAppRegions {
9    List(list::CmdAppRegionsList),
10}
11
12#[async_trait::async_trait]
13impl AsyncCliCommand for CmdAppRegions {
14    type Output = ();
15
16    async fn run_async(self) -> Result<Self::Output, anyhow::Error> {
17        match self {
18            Self::List(c) => {
19                c.run_async().await?;
20                Ok(())
21            }
22        }
23    }
24}