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

Accept input from STDIN as well as a file #32

Open
roryokane opened this issue Jun 21, 2015 · 2 comments
Open

Accept input from STDIN as well as a file #32

roryokane opened this issue Jun 21, 2015 · 2 comments

Comments

@roryokane
Copy link

I would like to be able to do pbpaste | html2slim | pbcopy to process the contents of the clipboard.

Current usage:

Usage: html2slim INPUT_FILENAME_OR_DIRECTORY [OUTPUT_FILENAME_OR_DIRECTORY] [options]

Desired usage:

Usage: html2slim [INPUT_FILENAME_OR_DIRECTORY [OUTPUT_FILENAME_OR_DIRECTORY]] [options]

erb2slim should be changed similarly, of course.

@tlindsay
Copy link

tlindsay commented Feb 9, 2016

This is throwing a segfault for me. This exact use case is the only reason I even have to use html2slim, so +1.

@joaomilho
Copy link
Member

Could be easily done in a PR, any takers?

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

3 participants