Skip to main content

prefix_line

Function prefix_line 

Source
fn prefix_line(command: &str, args: &[String]) -> String
Expand description

The command line the CLI hands the shell prefix: the words joined by spaces, a word it finds unsafe (one with a backslash, a space or a quote) in single quotes, a quote inside it as '\''. A bare name is left as it is.