mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
23 lines
588 B
Rust
23 lines
588 B
Rust
use bugreport::{
|
|
bugreport,
|
|
collector::{
|
|
CommandLine, CompileTimeInformation, EnvironmentVariables,
|
|
OperatingSystem, SoftwareVersion,
|
|
},
|
|
format::Markdown,
|
|
};
|
|
|
|
pub fn generate_bugreport() {
|
|
bugreport!()
|
|
.info(SoftwareVersion::default())
|
|
.info(OperatingSystem::default())
|
|
.info(CompileTimeInformation::default())
|
|
.info(EnvironmentVariables::list(&[
|
|
"SHELL",
|
|
"EDITOR",
|
|
"GIT_EDITOR",
|
|
"VISUAL",
|
|
]))
|
|
.info(CommandLine::default())
|
|
.print::<Markdown>();
|
|
}
|