k0kubun / hamlit

High Performance Haml Implementation
https://rubygems.org/gems/hamlit
Other
981 stars 59 forks source link

make `hamlit compile -` to read things from stdin #113

Closed gfx closed 7 years ago

gfx commented 7 years ago

In UNIX convention, - means STDIN, and it is sometimes useful, e.g. use in other toolchains via pipelines (x foo.haml | preprocessor | hamlit compile -).

k0kubun commented 7 years ago

I like this idea :+1: Thank you!