lines-cli

Crates.iolines-cli
lib.rslines-cli
version0.3.11
sourcesrc
created_at2022-06-30 21:52:59.047031
updated_at2024-04-21 15:49:25.074315
descriptionCounts lines of code, fast.
homepage
repositoryhttps://github.com/ryanfowler/lines
max_upload_size
id616739
size43,459
Ryan Fowler (ryanfowler)

documentation

README

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.

Commit count: 1344

cargo fmt