Print file contents with syntax highlighting
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
src
.gitignore
LICENSE
README.md
Setup.hs
cless.cabal

README.md

cless: Colorized LESS

Install

$ cabal update
$ cabal install cless

Usage

> cless --help
cless: Colorized LESS

Usage: cless [-v|--version] [-L|--list-langs] [-S|--list-styles]
             [-N|--LINE-NUMBERS] [-l|--lang LANG] [-s|--style STYLE] [FILE]
  Print the content of FILE with syntax highlighting

Available options:
  -h,--help                Show this help text
  -v,--version             Show version information
  -L,--list-langs          Show the list of supported languages
  -S,--list-styles         Show the list of supported styles
  -N,--LINE-NUMBERS        Show line numbers
  -l,--lang LANG           Specify language name
  -s,--style STYLE         Specify style name (default 'pygments')

Screenshots

screenshot1 screenshot2