12 releases
Uses new Rust 2024
| 0.3.16 | Jul 9, 2025 |
|---|---|
| 0.3.13 | Mar 13, 2025 |
| 0.3.12 | Jul 23, 2024 |
| 0.3.10 | Nov 5, 2023 |
| 0.3.3 | Jul 19, 2022 |
#277 in Command line utilities
639 downloads per month
24KB
503 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
-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
License
lines is released with the MIT license. Please see the LICENSE file for more details.
Dependencies
~10–14MB
~277K SLoC