RustyQLib 0.0.3

RustyQLib is a lightweight yet robust quantitative finance library designed to price derivatives and perform risk analysis
Documentation
use rustyqlib::utils::build_cli;

fn main() {
    // Diagnostics go to stderr via RUST_LOG (e.g. RUST_LOG=rustyqlib=debug);
    // stdout stays reserved for pricing output.
    env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("warn")).init();

    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.");
        }
    }
}