srclen

Crates.iosrclen
lib.rssrclen
version0.1.0
sourcesrc
created_at2021-07-10 10:09:49.150149
updated_at2021-07-10 10:09:49.150149
descriptioncount the lines in a Rust source code file.
homepagehttps://github.com/mahdi-frms/srclen
repositoryhttps://github.com/mahdi-frms/srclen
max_upload_size
id421050
size5,264
(mahdi-frms)

documentation

README

Srclen

count the lines in a Rust source code file. this utility manages to ignore empty, whitespace-only or comment-only lines.

Install

to install the binary:

cargo install srclen

Usage

to count the lines in (a) file(s), simply run the binary with the fils path(s) as arguments:

srclen file1.rs file2.rs
Commit count: 13

cargo fmt