Skip to main content

has_recommended_suffix

Function has_recommended_suffix 

Source
fn has_recommended_suffix(label: &str) -> bool
Expand description

#273: CLI 2.1.156 marks the “best” choice in an AskUserQuestion option list with a literal (Recommended) suffix on the option label (space + paren + capital R). The label itself reaches the UI verbatim; this only reports the marker’s presence. Match is case-sensitive because the CLI emits the canonical form; lower-case recommended from the model’s own prose is just label text.