Skip to content

Commit

Permalink
Add shadow flag
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBoot committed Apr 28, 2024
1 parent 59b22ed commit f080a67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kuma-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Commands>,
}
Expand Down
1 change: 1 addition & 0 deletions kuma-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {}
};

Expand Down

0 comments on commit f080a67

Please sign in to comment.