pub fn handle_runtime_app_command(
verb: &str,
config: &mut ServeConfig,
repo_root: Option<&Path>,
binary_dir: Option<&Path>,
) -> Result<String, &'static str>Expand description
Dispatches an app-scoped runtime command.
§Parameters
verb: Input consumed bycrate::binaries::handle_runtime_app_command.config: Input consumed bycrate::binaries::handle_runtime_app_command.repo_root: Input consumed bycrate::binaries::handle_runtime_app_command.binary_dir: Input consumed bycrate::binaries::handle_runtime_app_command.
§Returns
Returns the successful value produced by crate::binaries::handle_runtime_app_command or an error when the operation fails.
§Errors
Returns an error value when crate::binaries::handle_runtime_app_command cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::binaries::handle_runtime_app_command(todo!(), todo!(), std::path::Path::new("."), std::path::Path::new("bin"));§Related
crate::binariesfor adjacent helpers that share the same runtime surface.