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
  • about 7 years ago
  • September 2, 2015
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 17:25:23 GMT

Languages