-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
modified cli.js so that it can read from piped input by default #558
Conversation
Interesting. Please update the python and the tests too. |
@bitwiseman I'd love to, but I have no experience with the test framework in this project or Python and I'm afraid I'd do more harm modifying that piece of code. |
That's unfortunate. This looks like a good change. In any case, it is an api change, so it will have to wait both until the next version and I have time to look at porting it to python and fixing the tests. \ Thanks for starting point! |
I modified
cli.js
so that it expects stdin by default if no arguments are provided and will detect when no stdin is provided:stdin
piping before:stdin
piping after:stdin
:stdin
: