Skip to main content

cossh/runtime/
mod.rs

1//! Top-level application startup and command dispatch.
2
3mod dispatch;
4mod logging;
5mod startup;
6
7use std::process::ExitCode;
8
9/// Execute the `cossh` runtime and return process exit code.
10pub fn run() -> crate::Result<ExitCode> {
11    dispatch::run()
12}
13
14#[cfg(test)]
15pub(crate) use logging::{DebugModeSource, debug_mode_source, resolve_logging_settings};
16
17#[cfg(test)]
18#[path = "../test/runtime.rs"]
19mod tests;