RustyQLib 0.0.2

RustyQLib is a lightweight yet robust quantitative finance library designed to price derivatives and perform risk analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use rustyqlib::utils::build_cli;

fn main() {
    let matches = build_cli::build_cli().get_matches();

    // Match and dispatch subcommand
    match matches.subcommand() {
        Some(("build", build_matches)) => build_cli::handle_build(build_matches),
        Some(("file", file_matches)) => build_cli::handle_file(file_matches),
        Some(("dir", dir_matches)) => build_cli::handle_dir(dir_matches),
        Some(("interactive", _)) => build_cli::handle_interactive(),
        _ => {
            // No mode specified or unknown mode
            println!("No valid subcommand specified. Use --help to see available options.");
        }
    }
}