Add support for command line piping
Closed this issue · 2 comments
Redsandro commented
Can we add functionality so that when installed globally with npm -g install ansi_up
, we can pipe input output?
E.g.:
ls -lah --color | ansi_up > test.html
As seen in:
- agnoster/ansi2html (node)
- ralphbean/ansi2html (python)
- ansi2html.sh (bash)
That would really make this module versatile.
drudru commented
@Redsandro - that is an interesting suggestion and easy to add.
drudru commented
I am closing this issue. However, if someone really wants this and will submit a pull, I will gladly review it.