ccat

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 17 Imported by: 0

README

banner

build release license go version release

demo

ccat

ccat is the colored cat command.

Install

Binary

Get binary from releases.

Source
go get github.com/skmatz/ccat

Commands

> ccat --help

Usage:
  ccat [OPTIONS]

Application Options:
  -n, --number           Show contents with line numbers
  -b, --number-nonblank  Show contents with nonempty line numbers
  -E, --show-ends        Show $ at end of lines
  -T, --show-tabs        Show TAB characters as ^T
  -t, --theme=           Overwrite syntax highlighting theme
  -v, --version          Show ccat version

Help Options:
  -h, --help             Show this help message

Available Themes

We can use various themes.

  • adap
  • dracula
  • emacs
  • github
  • monokai (default)
  • pygments
  • solarized-dark
  • solarized-light
  • vim
  • ... more

themes

Set your favorite theme in ~/.config/ccat.json.
When you run ccat for the first time, the default configuration will be downloaded automatically.

Supported Languages

Thanks to alecthomas/chroma, almost all languages are supported.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL