37 lines
1.1 KiB
Markdown
37 lines
1.1 KiB
Markdown
# cloc
|
|
|
|
#### Description
|
|
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
|
|
|
|
#### Software Architecture
|
|
Software architecture description
|
|
|
|
#### Installation
|
|
|
|
```
|
|
npm install -g cloc # https://www.npmjs.com/package/cloc
|
|
sudo apt install cloc # Debian, Ubuntu
|
|
sudo yum install cloc # Red Hat, Fedora
|
|
sudo dnf install cloc # Fedora 22 or later
|
|
sudo pacman -S cloc # Arch
|
|
sudo emerge -av dev-util/cloc # Gentoo https://packages.gentoo.org/packages/dev-util/cloc
|
|
sudo apk add cloc # Alpine Linux
|
|
doas pkg_add cloc # OpenBSD
|
|
sudo pkg install cloc # FreeBSD
|
|
sudo port install cloc # macOS with MacPorts
|
|
brew install cloc # macOS with Homebrew
|
|
choco install cloc # Windows with Chocolatey
|
|
scoop install cloc # Windows with Scoop
|
|
```
|
|
|
|
#### Instructions
|
|
|
|
cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <report files>
|
|
|
|
#### Contribution
|
|
|
|
1. Fork the repository
|
|
2. Create Feat_xxx branch
|
|
3. Commit your code
|
|
4. Create Pull Request
|