aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands.rs')
-rw-r--r--crates/mozart/src/commands.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/mozart/src/commands.rs b/crates/mozart/src/commands.rs
index f9b8880..d0139d5 100644
--- a/crates/mozart/src/commands.rs
+++ b/crates/mozart/src/commands.rs
@@ -96,6 +96,10 @@ impl Cli {
.map_err(|e| anyhow::anyhow!("Failed to get current directory: {}", e)),
}
}
+
+ fn is_verbose(&self) -> bool {
+ self.verbose > 0
+ }
}
#[derive(clap::Subcommand)]