Skip to main content

display_name

Function display_name 

Source
pub fn display_name(internal_name: &str) -> &str
Expand description

Return the best user-facing display name for a tool.

Prefers the canonical name (“shell”) if one exists, otherwise returns the internal name as-is.