//! libreDecision server — entry point. Everything else lives in the library. //! //! `ld-server discard-simulation [--apply]` is the act « supprime » that ends the //! simulation of the vote (ADR 0012): never run by the server itself. #[tokio::main] async fn main() -> anyhow::Result<()> { let args: Vec = std::env::args().skip(1).collect(); match args.first().map(String::as_str) { Some("discard-simulation") => ld_server::simulation::run_cli(args.iter().any(|a| a == "--apply")).await, _ => ld_server::run().await, } }