2.1.4 • Published 5 months ago

kloc-cli v2.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Kloc

Installation

Make sure you nave Node.js installed. Then run:

npm i -g kloc-cli@latest

Commands

CommandDescription
kloc getInteractive menu for all get options.
kloc get --configReturns path to kloc.config.json.
kloc get --ignoreReturns path to .klocignore.
kloc countInteractive menu for all count options.
kloc count --onelineCounts total loc in the directory.
kloc count --fileCounts loc for each file in a tree structure.
kloc count --tableCounts loc grouped by language in a table.

Configuration Files

kloc.config.json: Specify extensions to count/ignore.

{
    "count": [".js", ".md"],
    "ignore": [".json"]
}

.klocignore: Specify directories to exclude.

node_modules
build
dist
2.1.4

5 months ago

2.1.3

8 months ago

2.1.2

8 months ago

2.1.1

8 months ago

2.1.0

8 months ago

2.0.0

8 months ago

1.0.0

8 months ago