Skip to content

Latest commit

 

History

History
146 lines (96 loc) · 2.15 KB

File metadata and controls

146 lines (96 loc) · 2.15 KB

Command Reference

Top-Level Commands

  • scan
  • parse
  • extract
  • load
  • query
  • search
  • ask
  • compare
  • impact
  • delta
  • doctor
  • snapshots (group)
  • analyze (group)
  • completions

Core Pipeline

scan

Discover files from configured projects.

codegraphx scan --config config/projects.yaml --settings config/default.yaml

parse

Parse scanned files into AST-like summaries with cache support.

codegraphx parse --settings config/default.yaml

extract

Generate graph events from parse output.

codegraphx extract --settings config/default.yaml --relations

load

Incrementally load events into Neo4j.

codegraphx load --settings config/default.yaml

Snapshot and Delta

snapshots list

codegraphx snapshots list

snapshots create

Uses load.state.json hashes when available, otherwise hashes events.jsonl.

codegraphx snapshots create --label baseline

snapshots diff

codegraphx snapshots diff <old> <new> --show-keys

snapshots report

codegraphx snapshots report <old> <new> --output report.json

delta

codegraphx delta <old> <new> --show-lists --output delta.json

Analysis and Impact

impact

Find direct and transitive callers of a symbol.

codegraphx impact authenticate_user --project my_project --depth 4 --limit 100

analyze

Available subcommands: metrics, hotspots, security, debt, refactor, duplicates, patterns, full.

codegraphx analyze metrics --project my_project

Querying

query

Execute Cypher string or .cypher file.

codegraphx query "MATCH (f:Function) RETURN f.name LIMIT 10" --safe

search

Search over extracted events.

codegraphx search auth --index functions --limit 20

ask

Template-based NL-to-query helper.

codegraphx ask "show duplicate functions" --project my_project

Diagnostics

doctor

Run environment and service checks.

codegraphx doctor --skip-neo4j

Completion

codegraphx completions powershell