pnafs 0.0.5

PNA(Portable-Network-Archive) file system
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use clap::Parser;
use std::io;

mod cli;
mod command;
mod file_manager;
mod filesystem;

fn main() -> io::Result<()> {
    let args = cli::Cli::parse();
    #[cfg(feature = "logging")]
    simple_logger::init_with_level(args.verbose.log_level().unwrap_or(log::Level::Trace))
        .map_err(io::Error::other)?;
    command::entry(args)
}