✨ feat(cli): enhance configuration loading with logging
- add logging to display the config file being loaded
This commit is contained in:
committed by
Jeremiah Russell
parent
3112e23040
commit
4aef4608fc
@@ -430,6 +430,7 @@ fn get_config() -> Result<(Config, ClientConfig)> {
|
||||
|
||||
let config_file = config::File::with_name(path.to_path_buf().to_str().unwrap());
|
||||
let config_file = config_file.required(false);
|
||||
log::info!("Optional Config file {config_file:?}");
|
||||
|
||||
let configurations = config::Config::builder()
|
||||
.set_default("credential_file", "credential.json")?
|
||||
|
||||
Reference in New Issue
Block a user