diff --git a/Cargo.toml b/Cargo.toml index 17f01361..2902a1b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,6 +50,8 @@ aes-gcm = "0.10" pbkdf2 = { version = "0.12", features = ["simple"] } rpassword = "7" thiserror = "2" +eyre = "0.6" +color-eyre = "0.6" [build-dependencies] built = { version = "0.8", features = ["chrono"] } diff --git a/src/main.rs b/src/main.rs index bc494ef5..a14f7c1c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -415,6 +415,7 @@ enum HookEvent { } fn main() { + color_eyre::install().expect("color_eyre::install failed"); let cli = Cli::parse(); match cli.command { Commands::Init { agent } => init::run(agent.as_str()),