Skip to content

Commit

Permalink
fix(env): use info instead of warn for env command output note
Browse files Browse the repository at this point in the history
  • Loading branch information
QaidVoid committed Feb 13, 2025
1 parent 322cc01 commit 0cb5874
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions soar-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ use soar_core::{
SoarResult,
};
use state::AppState;
use tracing::{error, info, warn};
use tracing::{error, info};
use update::update_packages;
use use_package::use_alternate_package;
use utils::COLOR;
use utils::{Colored, COLOR};

mod cli;
mod download;
Expand Down Expand Up @@ -192,7 +192,11 @@ async fn handle_cli() -> SoarResult<()> {
cli::Commands::Env => {
let config = get_config();

warn!("These values are not configurable via environment variables. They are derived from the config file or defaults.");
info!(
"[{}]: These values are not configurable via environment \
variables. They are derived from the config file or defaults.",
Colored(nu_ansi_term::Color::Yellow, "NOTE")
);

info!("SOAR_CONFIG={}", CONFIG_PATH.read()?.display());
info!("SOAR_BIN={}", config.get_bin_path()?.display());
Expand Down

0 comments on commit 0cb5874

Please sign in to comment.