Skip to main content

Mountain/Binary/Initialize/
mod.rs

1//! # Binary::Initialize
2//!
3//! Pre-Tauri startup utilities invoked before the event loop begins.
4//! Covers Tokio runtime construction, CLI argument parsing, application
5//! state assembly, port selection, and log-level configuration.
6
7/// Parse and validate command-line arguments into a typed configuration struct.
8pub mod CliParse;
9
10/// Assemble the initial `MountainState` from disk and defaults.
11pub mod StateBuild;
12
13/// Select an available TCP port for the IPC server at startup.
14pub mod PortSelector;
15
16/// Resolve the active log level from CLI flags and environment variables.
17pub mod LogLevel;