project_analyzer

Crates.ioproject_analyzer
lib.rsproject_analyzer
version2.1.0
sourcesrc
created_at2024-05-01 09:31:43.34931
updated_at2024-05-01 09:31:43.34931
descriptionFast Rust binary that counts line numbers of a codebase.
homepagehttps://crates.io/crates/project_analyzer
repositoryhttps://github.com/ali77gh/ProjectAnalyzer
max_upload_size
id1225990
size62,500
Ali Ghahremani (ali77gh)

documentation

README

ProjectAnalyzer

forthebadge made-with-rust

Fast Rust binary that counts line numbers of a codebase.


How to use

Fast Rust binary that counts line numbers of a codebase

Usage: project_analyzer [OPTIONS] [COMMAND]

Commands:
  update  Opens github
  help    Print this message or the help of the given subcommand(s)

Options:
  -r, --root-dir <ROOT_DIR>    Number of times to greet [default: .]
      --ignore <IGNORE>        Example: project_analyzer --ignore node_modules --ignore dist
  -w, --watch                  Will keep running and update result whenever anything changed
  -p, --postfixes <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

1. Download binary

Release page
or build it yourself:

cd /tmp 
git clone git@github.com:ali77gh/ProjectAnalyzer.git
cd ProjectAnalyzer
cargo build --release

2. Add binary to your PATH

# linux
cp ./target/release/project_analyzer /usr/bin

# MacOS
cp ./target/release/project_analyzer /usr/local/bin/

# Windows
# add binary to Environment Variables Path
Commit count: 73

cargo fmt