Colored cat
command which supports syntax highlighting.
$ brew install toshimaru/nyan/nyan
$ go get github.com/toshimaru/nyan
$ go install github.com/toshimaru/nyan@latest
$ nyan FILE
Option | Description |
---|---|
-h , --help |
Show help |
-l , --language lang |
Specify language for syntax highlighting |
-T , --list-themes |
List available color themes |
-n , --number |
Output with line numbers |
-t , --theme theme |
Set color theme for syntax highlighting |
- abap
- dracula
- emacs
- monokai (default)
- monokailight
- pygments
- solarized-dark
- solarized-light
- swapoff
- vim
You can list and preview available color themes with the command:
$ nyan --list-themes