Skip to main content

command_lines

Function command_lines 

Source
pub fn command_lines(script: &Value) -> Vec<String>
Expand description

Flattens a resolved command into the individual shell command lines it will run: a single string yields one line, an array yields one line per element. Used by --dry-run to preview exactly what would execute.