buildkite / terminal-to-html

Converts arbitrary shell output (with ANSI) into beautifully rendered HTML
http://buildkite.github.io/terminal-to-html
MIT License
649 stars 45 forks source link

Add a preview mode #18

Closed toolmantim closed 9 years ago

toolmantim commented 9 years ago

Add some kind of ability to see the rendered output with stylesheet and all.

It could be as simple as a --layout flag which outputs the HTML container and CSS as well as the terminal output, so you can do:

mycommand | terminal --preview > /tmp/preview.html && open /tmp/preview.html
mipearson commented 9 years ago

Fixed by https://github.com/buildkite/terminal/pull/23