envo-cli 0.1.0

Typed .env manager: schema with types, profile inheritance, secret-leak detection, and encryption at rest.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::Parser;

use envo::cli::Cli;
use envo::{commands, output};

fn main() {
    let cli = Cli::parse();
    output::init_color(cli.no_color);

    match commands::dispatch(cli) {
        Ok(code) => std::process::exit(code),
        Err(e) => {
            eprintln!("{} {:#}", output::red("error:"), e);
            std::process::exit(2);
        }
    }
}