| Crates.io | srclen |
| lib.rs | srclen |
| version | 0.1.0 |
| created_at | 2021-07-10 10:09:49.150149+00 |
| updated_at | 2021-07-10 10:09:49.150149+00 |
| description | count the lines in a Rust source code file. |
| homepage | https://github.com/mahdi-frms/srclen |
| repository | https://github.com/mahdi-frms/srclen |
| max_upload_size | |
| id | 421050 |
| size | 5,264 |
count the lines in a Rust source code file. this utility manages to ignore empty, whitespace-only or comment-only lines.
to install the binary:
cargo install srclen
to count the lines in (a) file(s), simply run the binary with the fils path(s) as arguments:
srclen file1.rs file2.rs