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
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 6 years ago
  • June 5, 2018
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 14:33:47 GMT

Languages