johnaoss / pcat

A replacement for `cat` that highlights source code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pcat

pcat is a pretty cat util, applying syntax highlighting to outputted code if possible.

Installation

Currently requires a 256-bit colour terminal (terminal256).

todo: provide binary release

Usage

pcat filename.html

pcat < filename.html

Roadmap

  • Add more config for styling and output formats.
  • Check for large binary files before reading in.
  • Pretty up the code

License

This project is licensed under the MIT License. Do whatever you want, just keep the copyright notice.

About

A replacement for `cat` that highlights source code

License:MIT License


Languages

Language:Go 100.0%