internal: add more output to the status command

This commit is contained in:
David Barsky 2024-07-22 15:23:48 -04:00
parent 9d86412498
commit d0017cef9b

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)
}