lless

command module
v0.0.0-...-2181260 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 8 Imported by: 0

README

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

$ 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:

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

Usage

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

It's recommended to alias lless to less:

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL