args function
Converts all elements of arguments
to strings and escapes them so they're
parsed as separate arguments with no glob expansion by new Script
and
related functions.
For example, run("cp -r ${args(directories)} build/")
.
Implementation
String args(Iterable<Object> arguments) => arguments.map(arg).join(" ");