lncount

command module
v0.0.0-...-1c1c76a Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: MIT Imports: 10 Imported by: 0

README

lncount

Simple and fast tool to count how many lines your files have.

Features

  • Supports glob patterns.
  • Reads from stdin when piped.
  • Concurrent and fast.

Some Examples

lncount **/*.go #read all .go files under the current directory
cat main.go | lncount #reads from stdin
lncount main.go # reads just main.go
lncount **/main.go # only count main.go files
lncount **/*.go --exclude '**/*_test.go' # ignore test files

Installation

You need the go compiler.

go get -u -v github.com/insomnimus/lncount

This should install lncount to your $GOBIN directory, make sure $GOBIN is in your path.

License

MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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