-
Notifications
You must be signed in to change notification settings - Fork 79
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
Impossible to read filename or '-' #91
Comments
At the moment our parser can not handle In any case; reading data from stdin is beyond the scope of this library, being a command line argument parser, and is left for the user to implement. You can use |
I'm not sure about what do you exactly mean under 'bash commands', but that's of course not true for the majority of standard set of *nix programs (e.g.: tar). Any detection magic is more a flaw than a feature. Programs shouldn't make any assumptions about their environment unless they're told explicitly what to do.
Thanks, I'll take a look. Another workaround I used - I tweaked |
@OnkelTem Initializing |
It's very common for a file processing script to either take the filename OR '-' to get data from stdin.
With this library I cannot do this:
Whenever I pass "-" it says
My definition was like:
and value reading part was as simple as:
The text was updated successfully, but these errors were encountered: