Skip to main content

command

Function command 

Source
pub fn command(input: &str, known: impl Fn(&str) -> bool) -> Vec<Span<'static>>
Expand description

Highlight the input line: the command, the question name, the | separators, and the label=description / yes: criteria inside them.