drudru/ansi_up

Add support for command line piping

Closed this issue · 2 comments

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:

That would really make this module versatile.

@Redsandro - that is an interesting suggestion and easy to add.

I am closing this issue. However, if someone really wants this and will submit a pull, I will gladly review it.