sopsy 1.3.3

Public/private individual key encryption for repo secrets with biometrics support and explicit approval of who can decrypt. In other words — the missing good UX for SOPS
Documentation
//! Thin binary wrapper around [`sopsy::run`].
//!
//! Installs `color_eyre` for pretty panic/error reports, runs the CLI, and maps
//! any error to a non-zero process exit code while printing it via the UI's
//! conventions.

use std::process::ExitCode;

use owo_colors::OwoColorize;

fn main() -> ExitCode {
    // Pretty backtraces; ignore failure to install (e.g. if already installed).
    let _ = color_eyre::install();

    match sopsy::run() {
        Ok(()) => ExitCode::SUCCESS,
        Err(err) => {
            eprintln!("{} {err}", "".red().bold());
            ExitCode::FAILURE
        }
    }
}