Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ali77gh/projectanalyzer
Fast Rust binary that counts line numbers of a codebase.
https://github.com/ali77gh/projectanalyzer
analyzer linecounter
Last synced: 2 months ago
JSON representation
Fast Rust binary that counts line numbers of a codebase.
- Host: GitHub
- URL: https://github.com/ali77gh/projectanalyzer
- Owner: ali77gh
- License: mit
- Created: 2018-06-28T12:17:12.000Z (over 6 years ago)
- Default Branch: stable
- Last Pushed: 2024-05-15T12:04:01.000Z (8 months ago)
- Last Synced: 2024-10-09T12:22:12.454Z (3 months ago)
- Topics: analyzer, linecounter
- Language: Rust
- Homepage:
- Size: 914 KB
- Stars: 22
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ProjectAnalyzer
[![forthebadge made-with-rust](http://ForTheBadge.com/images/badges/made-with-rust.svg)](https://www.rust-lang.org/)
Fast Rust binary that counts line numbers of a codebase.
## How to use
```posh
Fast Rust binary that counts line numbers of a codebaseUsage: project_analyzer [OPTIONS] [COMMAND]
Commands:
update Opens github
help Print this message or the help of the given subcommand(s)Options:
-r, --root-dir Number of times to greet [default: .]
--ignore Example: project_analyzer --ignore node_modules --ignore dist
-w, --watch Will keep running and update result whenever anything changed
-p, --postfixes Filter by list of file postfixes example: project_analyzer --postfixes py,rs,cpp
-j, --json Output as json
-h, --help Print help
-V, --version Print version
```## Installation
### If you have Rust toolchain installed:
```sh
cargo install project_analyzer # works on linux, mac and windows
```### if you don't have Rust toolchain installed:
Download binary from [here](https://github.com/ali77gh/ProjectAnalyzer/releases) or build it yourself:
```sh
cd /tmp
git clone [email protected]:ali77gh/ProjectAnalyzer.git
cd ProjectAnalyzer
cargo build --release
```and Add binary to your PATH
```sh
# linux
cp ./target/release/project_analyzer /usr/bin# MacOS
cp ./target/release/project_analyzer /usr/local/bin/# Windows
# add binary to Environment Variables Path
```