2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-15 00:12:57 +00:00

Add config file, compile time info and less version

This commit is contained in:
sharkdp 2021-01-01 17:41:41 +01:00 committed by David Peter
parent ebb97e94a9
commit dec94b4111
3 changed files with 4 additions and 3 deletions

2
Cargo.lock generated
View File

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

View File

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

View File

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