gat是一个用Go编写的cat替代品。
一些基本功能:显示文件内容创建新文件合并文件复制文件内容……安装Homebrew
$brewistallgatgoistall$goistallgithub.com/koki-develop/gat@latest使用$gat--helpcatalterativewritteiGo.Usage:gat[file]...[flags]Flags:-c,--force-colorforcecoloredoutput-f,--formatstrigoutputformat(default"termial256")-h,--helphelpforgat-l,--lagstriglaguageforsytaxhighlightig--list-formatspritalistofsupportedoutputformats--list-lagspritalistofsupportedlaguagesforsytaxhighlightig--list-themespritalistofsupportedthemeswithpreview-p,--prettywhethertoformatacotetpretty-t,--themestrighighlighttheme(default"mookai")-v,--versioversioforgat
评论