ansi2html --version (return code: 0)
ansi2html 1.1.1
ansi2html --help (return code: 0)
Usage:
$ ls --color=always | ansi2html > directories.html
$ sudo tail /var/log/messages | ccze -A | ansi2html > logs.html
$ task burndown | ansi2html > burndown.html
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-p, --partial Process lines as them come in. No headers are
produced.
-L, --latex Export as LaTeX instead of HTML.
-i, --inline Inline style without headers or template.
-H, --headers Just produce the <style> tag.
-f SIZE, --font-size=SIZE
Set the global font size in the output.
-l, --light-background
Set output to 'light background' mode.
-a, --linkify Transform URLs into <a> links.
-u, --unescape Do not escape XML tags found in the input.
-m, --markup-lines Surround lines with <span id='line-n'>..</span>.
--input-encoding=ENCODING
Specify input encoding
--output-encoding=ENCODING
Specify output encoding
-s SCHEME, --scheme=SCHEME
Specify color palette scheme. Default: ansi2html.
Choices: ['ansi2html', 'osx', 'solarized', 'xterm']
-t OUTPUT_TITLE, --title=OUTPUT_TITLE
Specify output title