Skip to content

CLI Reference

symtrace <REPO_PATH> <COMMIT_A> <COMMIT_B> [OPTIONS]
ArgumentDescription
REPO_PATHPath to a Git repository (the folder with .git/)
COMMIT_AThe older commit — a hash, HEAD~1, branch name, or tag
COMMIT_BThe newer commit — a hash, HEAD, branch name, or tag
FlagDefaultDescription
--logic-onlyoffSkip comments and whitespace-only changes
--jsonoffOutput structured JSON instead of colored text
--no-incrementaloffForce a full re-parse (disables caching)
--max-file-size <BYTES>5242880Skip files larger than this (default 5 MiB)
--max-ast-nodes <N>200000Skip files with more nodes than this
--max-recursion-depth <N>2048Max parser recursion depth
--parse-timeout-ms <MS>2000Per-file parse timeout in ms (0 = no limit)
--helpShow help
--versionShow version
Terminal window
symtrace . HEAD~1 HEAD
Terminal window
symtrace /path/to/repo a1b2c3d 9f8e7d6
Terminal window
symtrace /repos/project main feature/my-feature
Terminal window
symtrace /repos/project v1.0.0 v2.0.0
Terminal window
symtrace . HEAD~1 HEAD --json | jq '.summary'
Terminal window
symtrace . HEAD~5 HEAD --logic-only --json
Terminal window
symtrace . HEAD~1 HEAD --max-file-size 1048576 --max-ast-nodes 50000 --parse-timeout-ms 500