//! Compatibility wrapper for the historical `idea --serve` desktop binary path.
//!
//! The HTTP/WebSocket adapter itself lives in `web-server`, so the standalone
//! `idea-serve` binary can be built without Tauri/WebKit dependencies.

use std::process::ExitCode;

/// Runs the `idea --serve` subcommand from already-split CLI arguments.
#[must_use]
pub fn run_from_args(args: Vec<String>) -> ExitCode {
    web_server::run_from_args(args)
}
