1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-31 10:11:07 +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]]
name = "bugreport"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "824268bc0fcb3b94da597b81fa9dd52175cfde5522f4892a0cff3932802ff805"
dependencies = [
"snailquote",
"sys-info",

View File

@ -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"

View File

@ -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);