sim-cli 0.9.0

CLI tool for running and comparing Solana simulator backtests
Documentation
//! Library surface backing the `sim` binary.
//!
//! These modules are an internal, semver-exempt API consumed by in-workspace
//! tools (e.g. `backtest-driver`); the published artifact is the binary.

use clap::Args;

#[doc(hidden)]
pub mod engine;
#[doc(hidden)]
pub mod signals;

#[derive(Debug, Clone, Args)]
pub struct ApiKeyArg {
    /// API key for authentication
    #[arg(long, env = "SIMULATOR_API_KEY")]
    pub api_key: String,
}

impl ApiKeyArg {
    pub fn get(&self) -> String {
        self.api_key.clone()
    }
}