internal: add more output to the status command

This commit is contained in:
David Barsky 2024-07-22 15:23:48 -04:00
parent e651da9ff3
commit 8c6dd09507

View file

@ -111,6 +111,13 @@ pub(crate) fn handle_analyzer_status(
.status(file_id)
.unwrap_or_else(|_| "Analysis retrieval was cancelled".to_owned()),
);
buf.push_str("\nVersion: \n");
format_to!(buf, "{}", crate::version());
buf.push_str("\nConfiguration: \n");
format_to!(buf, "{:?}", snap.config);
Ok(buf)
}