You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't do a pull request. You have a few waiting anyway.
I suggest something like, to stay in line with the rest of the code and conventions, to modify cli.coffee and append a switch e.g. -i for processing stdin.
['-i', '--stdin', 'accept input over standard input interface stdin']
Then add
codeIn=""stdin=process.openStdin()
# and under run...ifoptions.stdin# Buffer streams of data and concat to string until finishedstdin.on'data', (buffer) ->codeIn+=buffer.toString() if buffer
stdin.on'end', ->logcoffeecup.render codeIn
I didn't do a pull request. You have a few waiting anyway.
I suggest something like, to stay in line with the rest of the code and conventions, to modify
cli.coffee
and append a switch e.g.-i
for processing stdin.Then add
This will allow for something like
As a little round-trip since coffeescript cli tool doesn't really allow a unmangle of the
.litcoffee
files yet.The text was updated successfully, but these errors were encountered: