gat is a cat replacement written in Go.

Some basic functions:

  • show file content
  • create new file
  • Merge files
  • copy file content

Install

Homebrew

go install

$ go install github.com/koki-develop/gat@latest

use

$ gat --help
cat alternative written in Go.

Usage:
  gat [file]... [flags]

Flags:
  -c, --force-color     force colored output
  -f, --format string   output format (default "terminal256")
  -h, --help            help for gat
  -l, --lang string     language for syntax highlighting
      --list-formats    print a list of supported output formats
      --list-langs      print a list of supported languages for syntax highlighting
      --list-themes     print a list of supported themes with preview
  -p, --pretty          whether to format a content pretty
  -t, --theme string    highlight theme (default "monokai")
  -v, --version         version for gat

#gat #Homepage #Documentation #Downloads #cat #replacement #written #News Fast Delivery

Leave a Comment

Your email address will not be published. Required fields are marked *