fix: logging in harmony_cli

This commit is contained in:
Taha Hawa 2025-04-24 14:43:39 -04:00
parent 00c0566533
commit 1edb230fa4
3 changed files with 4 additions and 0 deletions

1
Cargo.lock generated
View File

@ -1373,6 +1373,7 @@ version = "0.1.0"
dependencies = [
"assert_cmd",
"clap",
"env_logger",
"harmony",
"harmony_tui",
"inquire",

View File

@ -12,6 +12,7 @@ harmony = { path = "../harmony" }
harmony_tui = { path = "../harmony_tui", optional = true }
inquire.workspace = true
tokio.workspace = true
env_logger.workspace = true
[features]

View File

@ -99,6 +99,8 @@ pub async fn init<T: Topology + Send + Sync + 'static>(
return Err("Not compiled with interactive support".into());
}
env_logger::builder().init();
let scores_vec = maestro_scores_filter(&maestro, args.all, args.filter, args.number);
if scores_vec.len() == 0 {