Skip to content

cligit v0.2.0 — Repo Analysis (40 commands)

Latest

Choose a tag to compare

@allthingssecurity allthingssecurity released this 03 Apr 12:40

cligit v0.2.0 — 5 new repo analysis commands (40 total)

Inspired by bruce249/git_reverse Chrome extension, but works locally with deeper access to the actual repo.

New Commands

Command What it does
analyze Deep repo profile: tech stack, languages, key files, deps, architecture, README
tree Smart filtered file tree (skips noise: node_modules, target, dist, binaries)
deps Parse all manifest files (Cargo.toml, package.json, requirements.txt, go.mod, Gemfile)
languages Language breakdown with file/line counts and percentages
context LLM-ready repo context packet — paste into Claude/GPT to understand any codebase

Examples

# Deep repo analysis
cligit analyze --json

# Smart file tree (no noise)
cligit tree --depth 3 --sizes --json

# Language breakdown
cligit languages --json
# → { "languages": [{"language":"Rust","files":121,"lines":14075,"percentage":95.8}] }

# Parse all dependencies
cligit deps --json

# Generate LLM-ready context (paste into Claude to understand a repo)
cligit context --max-length 4000

Install

curl -L https://github.com/allthingssecurity/clibrowser/releases/download/cligit-v0.2.0/cligit-darwin-arm64 -o cligit
chmod +x cligit && mv cligit ~/.local/bin/