1use anyhow::Result;
2use clap::Args;
3
4use crate::{app, testing::docker::CONTAINER_TOOL, utils::platform};
5
6#[derive(Args, Debug)]
8#[command()]
9pub struct Cli {}
10
11impl Cli {
12 pub fn exec(self) -> Result<()> {
13 println!("Container tool: {}", CONTAINER_TOOL.display());
14 println!("Data path: {}", platform::data_dir().display());
15 println!("Repository: {:?}", app::path());
16 println!("Shell: {}", app::SHELL.display());
17
18 println!("\nPlatform:");
19 println!(" Default target: {}", platform::default_target());
20 Ok(())
21 }
22}