Skip to content

Commit 364276c

Browse files
committed
chore: add Mithril client CLI version in debug logs
1 parent 8ddf19d commit 364276c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mithril-client-cli/src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ pub struct Args {
8585

8686
impl Args {
8787
pub async fn execute(&self, root_logger: Logger) -> MithrilResult<()> {
88+
debug!(
89+
root_logger,
90+
"Mithril client CLI version: {}",
91+
env!("CARGO_PKG_VERSION")
92+
);
8893
debug!(root_logger, "Run Mode: {}", self.run_mode);
8994
let filename = format!("{}/{}.json", self.config_directory.display(), self.run_mode);
9095
debug!(root_logger, "Reading configuration file '{filename}'.");

0 commit comments

Comments
 (0)