gat Homepage, Documentation and Downloads – cat replacement written in Go – Development details

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 #Development details

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *