Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Flags #14

Open
Jab2870 opened this issue Jul 9, 2019 · 0 comments
Open

Multiple Flags #14

Jab2870 opened this issue Jul 9, 2019 · 0 comments

Comments

@Jab2870
Copy link
Contributor

Jab2870 commented Jul 9, 2019

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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant