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

Support input from stdin #59

Open
uncenter opened this issue Apr 10, 2024 · 0 comments
Open

Support input from stdin #59

uncenter opened this issue Apr 10, 2024 · 0 comments

Comments

@uncenter
Copy link

uncenter commented Apr 10, 2024

It would be nice to be able to use this with the pipe (|) operator, e.g. echo "Hello, world!" | uwuifyy. In the past I've used https://github.com/thepacketgeek/clap-stdin for this sort of thing (https://github.com/uncenter/kittysay/blob/6955b362fca7bc5197a86624febad7c0f7ffd9d7/src/main.rs#L54) though since you don't use the derive method for clap I'm not exactly sure how to do it. Giving the derive method a try might be worth it, I've found it to be simpler and more readable :)

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