We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f041dd commit bacb877Copy full SHA for bacb877
mithril-client-cli/src/main.rs
@@ -90,11 +90,9 @@ pub struct Args {
90
91
impl Args {
92
pub async fn execute(&self, root_logger: Logger) -> MithrilResult<()> {
93
- debug!(
94
- root_logger,
95
- "Mithril client CLI version: {}",
96
- env!("CARGO_PKG_VERSION")
97
- );
+ let version_message = format!("Mithril Client CLI version: {}", env!("CARGO_PKG_VERSION"));
+ eprintln!("{version_message}");
+ debug!(root_logger, "{version_message}");
98
debug!(root_logger, "Run Mode: {}", self.run_mode);
99
let filename = format!("{}/{}.json", self.config_directory.display(), self.run_mode);
100
debug!(root_logger, "Reading configuration file '{filename}'.");
0 commit comments