| Crates.io | lines-cli |
| lib.rs | lines-cli |
| version | 0.3.16 |
| created_at | 2022-06-30 21:52:59.047031+00 |
| updated_at | 2025-07-09 02:08:56.181776+00 |
| description | Counts lines of code, fast. |
| homepage | |
| repository | https://github.com/ryanfowler/lines |
| max_upload_size | |
| id | 616739 |
| size | 44,442 |
Counts lines of code, fast.
Using cargo:
cargo install lines-cli
❯ 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
-V, --version Print version
Using lines in this repo outputs:
Language | Files | Lines
----------+-------+-------
Rust | 4 | 600
Markdown | 1 | 47
TOML | 1 | 36
---------- ------- -------
Total | 6 | 683
lines is released with the MIT license. Please see the LICENSE file for more details.