// SPDX-License-Identifier: MIT OR Apache-2.0
useanyhow::Result;pubfnrun(scene:Option<&str>)->Result<()>{let path =match scene {Some(s)if!s.is_empty()=>pite_runtime::resolve_scene_arg(s)?,_=>pite_runtime::resolve_default_scene()?,};pite_editor::launch(&path)}