Jake already accepts parameters via the [arg1,arg2] syntax, but this syntax is verbose, spacing sensitive and zsh forces use of backslashes: \[arg1,arg2\]. I'd prefer to be able to do this:
$ jake build core plugins web-client
Instead of:
$ jake build\[core,plugins,web-client\]
With this commit, if a task is declared with greedy option set, it will consume all remaining CLI params as arguments:
… parameters.
Jake already accepts parameters via the
[arg1,arg2]
syntax, but this syntax is verbose, spacing sensitive and zsh forces use of backslashes:\[arg1,arg2\]
. I'd prefer to be able to do this:Instead of:
With this commit, if a task is declared with
greedy
option set, it will consume all remaining CLI params as arguments: