/gat

Poor Cat clone in go with syntax highlighting

Primary LanguageGo

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)