cless icon indicating copy to clipboard operation
cless copied to clipboard

Print file contents with syntax highlighting

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