Expand description
Application state initialization.
§Binary::Initialize
Pre-Tauri startup utilities invoked before the event loop begins. Covers Tokio runtime construction, CLI argument parsing, application state assembly, port selection, and log-level configuration.
Modules§
- CliParse
- Parse and validate command-line arguments into a typed configuration struct.
- LogLevel
- Resolve the active log level from CLI flags and environment variables.
- Port
Selector - Select an available TCP port for the IPC server at startup.
- Runtime
Build - Build and return the configured multi-thread Tokio runtime.
- State
Build - Assemble the initial
MountainStatefrom disk and defaults.