pub fn service_visual_html(
app_root: &Path,
image_url: Option<&str>,
service_name: &str,
primary_color: Option<&str>,
) -> Option<String>Expand description
Renders the service visual using the app-owned image or badge fragment.
§Parameters
app_root: Input consumed bycrate::runtime::json_commands::service_visual_html.image_url: Input consumed bycrate::runtime::json_commands::service_visual_html.service_name: Input consumed bycrate::runtime::json_commands::service_visual_html.primary_color: Input consumed bycrate::runtime::json_commands::service_visual_html.
§Returns
Returns Some when crate::runtime::json_commands::service_visual_html can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::service_visual_html.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::service_visual_html(std::path::Path::new("apps/dev_docs"), todo!(), todo!(), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.