AHA - Ansi HTML Adapter


today i have make a little script in bash that output some colored json on console.
My requirements was to extract the colored output of my script in HTML format.
So, with a little search on Google I have found Ansi HTML Adapter (https://github.com/theZiz/aha)
And with my surprise it's available on official apt repository.
# apt-get install aha
If you want to test run command:
# ls --color=always | aha --black > ls-output.htm
Very useful. Salvo.

Nessun commento:

Posta un commento