Multiple Flags
Opened this issue · 0 comments
Jab2870 commented
Would you be interested in a PR that allowed multiple flags? For example, it might be useful to specify include or exclude flags which don't have the short hand arguments.
Having flags like
{
"flags": "-HnroE --include={whatever}"
....
}
This doesn't work as it is given to the grep command as a single argument.
I am not sure what the best way to do this is. We could spit the flags key by the space character and pass each to grep, or we could make the flags json property an array like 'patterns'.