dotsec 0.1.0

a lightweight CLI tool for locally managing secrets
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use clap::{CommandFactory, Parser};
use dotsec::cli::Cli;

fn main() {
    let cli = Cli::parse();
    if let Some(command) = cli.command {
        command.run().expect("issue running command");
    } else {
        Cli::command()
            .print_help()
            .expect("issue printing command help");
    }
}