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

How to read from stdin? #34

Closed
lodenrogue opened this issue Jul 19, 2020 · 2 comments
Closed

How to read from stdin? #34

lodenrogue opened this issue Jul 19, 2020 · 2 comments

Comments

@lodenrogue
Copy link

lodenrogue commented Jul 19, 2020

Thank you for creating this project. I want to be able to read from stdin so I can do something like:

generate_csv_command | graph -o output.png

@mcastorina
Copy link
Owner

Hi! You can use - in place of a filename to graph from stdin:

cat samples/sine.csv | graph - -o sine.png

@lodenrogue
Copy link
Author

Confirmed working. Thank you!

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

2 participants