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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址