0.9.0 • Published 5 years ago
hicat v0.9.0
hicat :cat:

cat with syntax highlighting. The language is auto-detected through the file
extension.
hicat index.jsPipe something to hicat. The language will be inferred from the contents.
curl http://example.com | hicatIf hicat fails to detect a language, specify it using -l LANG.
curl http://example.com | hicat -l xmlInstallation
npm install -g hicatUsage:
$ hicat --help
Usage:
hicat [options] FILE
... | hicat [options]
Options:
-h, --help print usage information
-v, --version show version info and exit
-l, --lang LANG use a given language
--languages list available languages
--no-pager disable the pagerTips and tricks
Add an alias to your ~/.bashrc to save a few keystrokes.
alias hi=hicatBtw
highlight.js powers the syntax highlighter engine.
Thanks
hicat © 2014+, Rico Sta. Cruz. Released under the MIT License. Authored and maintained by Rico Sta. Cruz with help from contributors.
ricostacruz.com · GitHub @rstacruz · Twitter @rstacruz