项目作者: ofer987

项目描述 :
Like less, but with colours. Less really is more.
高级语言: Go
项目地址: git://github.com/ofer987/lless.git
创建时间: 2017-07-26T15:53:12Z
项目社区:https://github.com/ofer987/lless

开源协议:Other

下载


lless is the colorizing of less. It works similar to less but displays content with syntax highlighting.

Supported Languages

  • JavaScript
  • Java
  • Ruby
  • Python
  • Go
  • C
  • JSON

Installation

OSX

  1. $ brew install lless

Standalone

lless can be easily installed as an executable.
Download the latest compiled binaries and put it in your executable path.

From source

Prerequisites:

  1. $ go get -u github.com/jingweno/lless

Usage

  1. $ lless FILE
  2. $ lless --bg=dark FILE ... # dark background
  3. $ lless # read from standard input
  4. $ curl https://raw.githubusercontent.com/jingweno/lless/master/main.go | lless

It’s recommended to alias lless to less:

  1. alias less=lless

You can always invoke less after aliasing lless by typing \less (in Bash).

License

MIT

Acknowledgements

This project was based off jingweno’s ccat

Credits

Thanks to Sourcegraph who built this awesome syntax-highlighting package.