pub async fn dispatch_run_mode(args: &CliArgs, app: App) -> Result<i32>
Dispatch the run mode: TUI / print / RPC, based on the CLI flags.