gatGo 編寫的 cat 替代品
gat 是一個用 Go 編寫的 cat 替代品。
一些基本功能:
- 顯示文件內(nèi)容
- 創(chuàng)建新文件
- 合并文件
- 復(fù)制文件內(nèi)容
- ……
安裝
Homebrew
$ brew install gat
go install
$ go install github.com/koki-develop/gat@latest
使用
$ 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
評論
圖片
表情
