secure-edit 0.3.2

Simple file encryption cli with versioning.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::path::PathBuf;

fn main() -> anyhow::Result<()> {
    use clap::Parser;
    use secure_edit::cli;

    let mut args = cli::Args::parse();

    let test_dir = PathBuf::from("test");
    if test_dir.exists() {
        std::fs::remove_dir_all(&test_dir)?;
    }
    args.dir = Some(test_dir);

    cli::run(args)?;
    Ok(())
}