-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
expect File arg to take standard input / output stream as a value #97
Comments
You can provide I can see how it could be useful, but then would also need to account for ability to pipe stdin etc, which is better handled from application code than from this library. I've added |
I think it can be done with minimal change, PR is welcome. |
When I define a
File
arg (like following) to specify an input file,I wish we can specify the
-
value to input from the standard input stream. However, it will report error now.if it's defined with a
String
arg, the help message will display like-i "<value>"
(cannot tell this should be a file), not as expected very much.It is the same case for the output file. I wish to specify the
-
value to output to standard output stream.The text was updated successfully, but these errors were encountered: