Skip to content

cieslarmichal/ncloc

Repository files navigation

NCloc

A cli written in Node.js inspired by cloc to count the lines of source code.

Installation

npm i -g ncloc

Basic example

Screenshot

Excluding directories

Screenshot

Flags

ncloc <input>

Positionals:
  input  Directory/file path to count lines in

Flags:
  -e, --exclude  Directories/files paths to be excluded from counting
      --help     Show help

Supported languages

To show all supported languages use the subcommand languages

Screenshot