Function nu_test_support::pipeline

source ·
pub fn pipeline(commands: &str) -> String
Expand description

Reformat a multiline pipeline into a single line for use with nu -c

Warning: Will not correctly handle statements that are not ; separated!