Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Commit

Permalink
add color eyre
Browse files Browse the repository at this point in the history
  • Loading branch information
kjuulh committed Feb 18, 2023
1 parent 03e022f commit 32665d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/create-release.yml

This file was deleted.

1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ serde_json = "1.0.93"
sha2 = "0.10.6"
tar = "0.4.38"
tempfile = "3.3.0"
color-eyre = "0.6.2"
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ pub mod cli;
mod cli_generate;

fn main() -> eyre::Result<()> {
color_eyre::install().unwrap();

let args = std::env::args();
let args = args.collect::<Vec<String>>();
let args = args.iter().map(|s| s.as_str()).collect::<Vec<&str>>();
Expand Down

0 comments on commit 32665d8

Please sign in to comment.