fileman_rs 0.2.2

A high-performance file management system for working with large quantities of files written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::{env, process};

use fileman_rs::{Config, RunTask};

fn main() {
    // create new config enum
    let config = Config::new(env::args()).unwrap_or_else(|err| {
        eprintln!("Error in configuration: {err}");
        process::exit(1);
    });

    // run desired task
    match config.run_task() {
        Ok(_) => println!("fileman_rs completed task successfully and is now exiting"),
        Err(err) => eprintln!("Error running task: {err}"),
    }
}