vdev/commands/e2e/
show.rs

1use anyhow::Result;
2use clap::Args;
3
4use crate::testing::config::E2E_TESTS_DIR;
5
6/// Show information about e2e-tests
7#[derive(Args, Debug)]
8#[command()]
9pub struct Cli {
10    /// The desired e2e test name
11    test: Option<String>,
12}
13
14impl Cli {
15    pub fn exec(self) -> Result<()> {
16        crate::commands::compose_tests::show::exec(self.test.as_ref(), E2E_TESTS_DIR)
17    }
18}