mariodujic / Line-Counter

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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']

About

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


Languages

Language:Rust 100.0%