sunilhari / gat

Poor Cat clone in go with syntax highlighting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gat

Trying to replicate bat which is written in rust. I dont have plans to implement pagination for now. At present intention is only to

  1. Read a file passed as argument

  2. Output to stdout with syntax highlighting using chroma

Usage

Download relevant binary from release. Program accepts single argument which is file name

> ./gat package.json

program output

Future Enhancements 🔮

  1. Pagination of file
  2. Control output behaviour via options (theme,output)

About

Poor Cat clone in go with syntax highlighting


Languages

Language:Go 100.0%