Add a bit of issue metadata (#386)
* Add a bit of issue metadata * Immediately install
This commit is contained in:
parent
f95ed913f6
commit
5b9cb16c94
|
@ -7,6 +7,9 @@ use nix_installer::cli::CommandExecute;
|
|||
async fn main() -> eyre::Result<ExitCode> {
|
||||
color_eyre::config::HookBuilder::default()
|
||||
.issue_url(concat!(env!("CARGO_PKG_REPOSITORY"), "/issues/new"))
|
||||
.add_issue_metadata("version", env!("CARGO_PKG_VERSION"))
|
||||
.add_issue_metadata("os", std::env::consts::OS)
|
||||
.add_issue_metadata("arch", std::env::consts::ARCH)
|
||||
.theme(if !atty::is(atty::Stream::Stderr) {
|
||||
color_eyre::config::Theme::new()
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue