stockholm 0.0.0

An algorithmic trading bot.
use clap::{ArgAction, Parser};

// This struct represents the command-line arguments.
#[derive(Parser)]
#[command(
    about = concat!(
        env!("CARGO_PKG_DESCRIPTION"),
        "\n\n",
        "More information can be found at: ",
        env!("CARGO_PKG_HOMEPAGE"),
    ),
    version,
    disable_version_flag = true
)]
struct Cli {
    #[arg(short, long, help = "Print version", action = ArgAction::Version)]
    _version: Option<bool>,
}

// Let the fun begin!
fn main() {
    // Parse the command-line arguments.
    let _ = Cli::parse();

    // Report that the scaffold started successfully.
    println!("Stockholm is ready.");
}

#[cfg(test)]
mod tests {
    use super::Cli;
    use clap::CommandFactory;

    #[test]
    fn verify_cli() {
        Cli::command().debug_assert();
    }
}