-
Notifications
You must be signed in to change notification settings - Fork 183
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
Support dash as short for stdin #434
Conversation
Thanks for opening this pull request! Please check out our contributing guidelines and sign the CLA. |
Hi @raffis, thanks for your contribution, this makes sense to me! Could you please update the documentation for the |
I'll try to take a closer look at why the test is failing (hopefully by end of next week). Doesn't seem to be related to your changes |
Docs updated 👍🏻 |
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com>
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com>
Fyi I'm just waiting to get all the dependency updates and bug fixes into a patch release and then I will merge this and do a minor release! Thanks for your patience 🙏 |
Congrats on merging your first pull request, keep em coming! |
Description
Simple addition to support a dash as alias for /dev/stdin.
I would expect a cli tool to accept a simple
-
in order to read from the stdin stream.For example currently I have to write:
kustomize build . | kubeaudit all -f /dev/stdin
.This pr makes it more straightforward:
kustomize build . | kubeaudit all -f -
Type of change
How Has This Been Tested?
Just manually, did not find any preexisting place where cli args are tested, maybe you can point to that if a test is needed.
Checklist: