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:
parent
ebb97e94a9
commit
dec94b4111
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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",
|
||||||
|
@ -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"
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user