diff --git a/kuma-cli/src/cli.rs b/kuma-cli/src/cli.rs index 10d67bc..ab5f7b9 100644 --- a/kuma-cli/src/cli.rs +++ b/kuma-cli/src/cli.rs @@ -46,6 +46,9 @@ pub(crate) struct Cli { #[arg(long = "pretty", default_value_t = false, global = true)] pub output_pretty: bool, + #[arg(long, hide = true)] + pub shadow: bool, + #[command(subcommand)] pub command: Option, } diff --git a/kuma-cli/src/main.rs b/kuma-cli/src/main.rs index 4337f55..443cd7c 100644 --- a/kuma-cli/src/main.rs +++ b/kuma-cli/src/main.rs @@ -29,6 +29,7 @@ async fn main() { Some(Commands::Maintenance { command }) => maintenance::handle(command, &config, &cli).await, Some(Commands::StatusPage { command }) => status_page::handle(command, &config, &cli).await, Some(Commands::DockerHost { command }) => docker_host::handle(command, &config, &cli).await, + None if cli.shadow => kuma_client::build::print_build_in(), None => {} };