1
0
Эх сурвалжийг харах

Feat: CLI Debug Warning (#3779)

* feat: cli debug warning

* fix: fmt
Miles Murgaw 4 сар өмнө
parent
commit
9c5f9882d9

+ 4 - 0
packages/cli/src/main.rs

@@ -41,6 +41,10 @@ async fn main() {
     }
 
     let args = TraceController::initialize();
+
+    #[cfg(debug_assertions)]
+    tracing::warn!("CLI was built with debug profile. Commands will run slower.");
+
     let result = match args.action {
         Commands::Translate(opts) => opts.translate(),
         Commands::New(opts) => opts.create(),