https://github.com/seanpray/slocc
simple-significant line of code counter
https://github.com/seanpray/slocc
cli utility
Last synced: about 1 month ago
JSON representation
simple-significant line of code counter
- Host: GitHub
- URL: https://github.com/seanpray/slocc
- Owner: seanpray
- License: mit
- Created: 2022-01-23T08:50:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-23T08:51:56.000Z (over 3 years ago)
- Last Synced: 2025-03-29T02:52:20.615Z (about 2 months ago)
- Topics: cli, utility
- Language: Rust
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
slocc
simple-significant line of code counter
slocc is a simple and fast line counter, this tool is not very useful but I wanted it's functionality for testing random directories or files
`cat x.txt | wc -l` does a very similar job, however, this supports directories and counting semicolons
in the future I'll add a more accurate way to determine how many signifigant lines there are, and truly the line count doesn't matter much in the first place
#### features
* ignore certain prefixes and suffixes
* specify file extensions
* specify operating on hidden files
* cli through clap
* fancy colored text!#### installation
it is recommended you have [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) installed
```
$ git clone [email protected]:NotCreative21/slocc.git
$ cd slocc
$ ./install.sh
$ slocc --help
```