8 releases

0.3.11 Apr 21, 2024
0.3.10 Nov 5, 2023
0.3.6 Jun 12, 2023
0.3.4 Dec 21, 2022
0.3.1 Jun 30, 2022

#342 in Command line utilities

Download history 4/week @ 2024-02-23 2/week @ 2024-03-01 1/week @ 2024-03-08 1/week @ 2024-03-15 22/week @ 2024-03-29 5/week @ 2024-04-05 148/week @ 2024-04-19 13/week @ 2024-04-26 1/week @ 2024-05-03

162 downloads per month

MIT license

22KB
460 lines

lines

Counts lines of code, fast.

Installation

Using cargo:

cargo install lines-cli

Usage

$ lines -h
Counts lines of code, fast.

Usage: lines [OPTIONS] [PATH]

Arguments:
  [PATH]  Directory or file to scan [default: .]

Options:
  -o, --output <FORMAT>  Output format ("table" or "json") [default: table]
  -t, --timing           Show timing information
  -h, --help             Print help information
  -V, --version          Print version information

Using lines in this repo outputs:

 Language | Files | Lines
----------+-------+-------
 Rust     |     4 |   608
 Markdown |     1 |    47
 TOML     |     1 |    36
---------- ------- -------
 Total    |     6 |   691

License

lines is released with the MIT license. Please see the LICENSE file for more details.

Dependencies

~9–19MB
~265K SLoC