Skip to content

toshimaru/nyan

Repository files navigation

Release Go Build & Test Release with goreleaser Maintainability Test Coverage

nyan

Colored cat command which supports syntax highlighting.

OG image for nyan command

Installation

Homebrew

$ brew install toshimaru/nyan/nyan

go get

$ go get github.com/toshimaru/nyan

go install (requires Go 1.16+)

$ go install github.com/toshimaru/nyan@latest

Usage

$ nyan FILE

Available Options

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

Available Color Themes

  • 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

Available Themes

What is nyan?

nyan originates from Nyan Cat (Music by daniwell).

nyancat