https://github.com/japiirainen/lines
CLI tool for counting lines of any project. Built in Haskell.
https://github.com/japiirainen/lines
cli haskell
Last synced: 7 months ago
JSON representation
CLI tool for counting lines of any project. Built in Haskell.
- Host: GitHub
- URL: https://github.com/japiirainen/lines
- Owner: japiirainen
- License: bsd-3-clause
- Created: 2021-07-23T11:39:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-29T13:15:05.000Z (almost 3 years ago)
- Last Synced: 2025-02-03T11:33:13.345Z (12 months ago)
- Topics: cli, haskell
- Language: Haskell
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# lines
Blazing fast CLI tool for counting lines of any local or remote project.
## Install
Currently you need the haskell build tool stack installed to get this working.
### Build from sources
```
git clone https://github.com/japiirainen/lines.git && make install
```
This will try to build the project and copy the executable to your local path.
## Usage
Run on a local directory.
```.sh
lines --dir some/local/dir
```
Run on remote git repository
```.sh
lines --repo https://github.com/japiirainen/lines
```
Ignore some file paths. For example node_modules
```.sh
lines --repo https://github.com/japiirainen/lines --ignore node_modules
```
## Supported languages
- Support is currently very limited. Feel free to open an issue about missing language support.