hless v0.1.0

less with syntax highlighting

hless - less with syntax highlighting

Usage: hless [-l lexer] [less options ...] [file]
    -l LEXER, --lexer LEXER          the pygments lexer to use
    -h, --help                       show this help

Examples:
# Open the file hless.cr in less and highlight it using the ruby lexer
$ hless -l rb hless.cr
# Open the file foo.rb and highlight it with the lexer guessed from the file
$ hless foo.rb
# Follow the tail of a logfile and highlight its contents using the ruby lexer
$ tail -f log/development.log | hless -l rb

Dependencies

  • pygments
  • libpcl

Build Dependencies

  • crystal

Building

crystal build --release hless.cr

Repository

hless

Owner
Statistic
  • 2
  • 0
  • 0
  • 0
  • 0
  • over 6 years ago
  • September 2, 2015
License

MIT License

Links
Synced at

Thu, 02 May 2024 18:17:06 GMT

Languages