1pub(crate) mod bridge;
4pub(crate) mod harvest;
5pub(crate) mod request;
6
7use anyhow::Result;
8use clap::{Parser, Subcommand};
9
10#[derive(Parser)]
12pub struct BrowserCommand {
13 #[command(subcommand)]
15 pub command: BrowserSubcommands,
16}
17
18#[derive(Subcommand)]
20pub enum BrowserSubcommands {
21 Bridge(bridge::BridgeCommand),
23}
24
25impl BrowserCommand {
26 pub async fn execute(self) -> Result<()> {
28 match self.command {
29 BrowserSubcommands::Bridge(cmd) => cmd.execute().await,
30 }
31 }
32}