vdev/commands/e2e/
start.rs1use anyhow::Result;
2use clap::Args;
3
4use crate::testing::integration::ComposeTestLocalConfig;
5
6#[derive(Args, Debug)]
8#[command()]
9pub struct Cli {
10 test: String,
12
13 #[arg(short = 'a', long)]
15 build_all: bool,
16
17 environment: Option<String>,
19}
20
21impl Cli {
22 pub fn exec(self) -> Result<()> {
23 crate::commands::compose_tests::start::exec(
24 ComposeTestLocalConfig::e2e(),
25 &self.test,
26 self.environment.as_ref(),
27 self.build_all,
28 )
29 }
30}