pub fn host_function_command_name(key: &str) -> StringExpand description
Convert a registration key to its command name. listOrders and
list-orders both become list-orders, so the guest sees one spelling
whichever the caller wrote. Mirrors hostFunctionCommandName in the
TypeScript client.