Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 590 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 590 Bytes

Line Counter

Reads lines of code in a given directory, and outputs line count per file type in a table form.

Preview

Install

clone https://github.com/mariodujic/Line-Counter
cd Line-Counter
cargo run <directory-path>

Config

Directories and file types can be excluded from the table by editing root config.toml file.

Example

To exclude build and idea directory, and txt file type, config.toml should contain:

[excluded]
dir = ['build', '.idea']
ext = ['txt']