✨ feat(cli): implement trace logging for configuration
- add trace logging to display loaded configuration for debugging
This commit is contained in:
committed by
Jeremiah Russell
parent
66689b795d
commit
6dc425ebec
@@ -63,6 +63,7 @@ async fn main() {
|
|||||||
|
|
||||||
async fn run(args: Cli) -> Result<(), Error> {
|
async fn run(args: Cli) -> Result<(), Error> {
|
||||||
let config = get_config()?;
|
let config = get_config()?;
|
||||||
|
log::trace!("Configuration loaded: {config:#?}");
|
||||||
if let Some(cmds) = args.command {
|
if let Some(cmds) = args.command {
|
||||||
match cmds {
|
match cmds {
|
||||||
Commands::Message(list_cli) => list_cli.run(config.credential_file()).await?,
|
Commands::Message(list_cli) => list_cli.run(config.credential_file()).await?,
|
||||||
|
|||||||
Reference in New Issue
Block a user