databoxer 0.1.0-rc.1

Fast and easy to use CLI-based file encryption program
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Databoxer entry point

use databoxer::app::{self, AppMode};
use databoxer::cli;

fn main() {
    let args = std::env::args();
    
    if args.len() < 2 {
        // Launch GUI
        app::set_app_mode(AppMode::GUI);
        unimplemented!()
    } else {
        // Launch CLI
        app::set_app_mode(AppMode::CLI);
        cli::run();
    }
}