Skip to main content

command_text

Function command_text 

Source
pub fn command_text(name: &str, args: &[(String, String)]) -> String
Expand description

The canonical content for an invocation a picker client builds — exactly what a human would have typed (“/name value…”). Values containing spaces or quotes are quoted with \" escapes so the text re-parses to the same arguments.