Add config file, compile time info and less version

pull/1488/head
sharkdp 4 years ago committed by David Peter
parent ebb97e94a9
commit dec94b4111

2
Cargo.lock generated

@ -197,8 +197,6 @@ dependencies = [
[[package]]
name = "bugreport"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "824268bc0fcb3b94da597b81fa9dd52175cfde5522f4892a0cff3932802ff805"
dependencies = [
"snailquote",
"sys-info",

@ -51,7 +51,7 @@ serde_yaml = "0.8"
semver = "0.11"
path_abs = { version = "0.5", default-features = false }
clircle = "0.2.0"
bugreport = "0.1"
bugreport = "0.2"
[dependencies.git2]
version = "0.13"

@ -243,6 +243,9 @@ fn run() -> Result<bool> {
"BAT_THEME",
"BAT_TABS",
]))
.info(FileContent::new("Config file", config_file()))
.info(CompileTimeInformation::default())
.info(CommandOutput::new("Less version", "less", &["--version"]))
.print_markdown();
return Ok(true);

Loading…
Cancel
Save