Skip to content

Commands ​

CommandWhat it does
hiarky snapTake a snapshot. Skipped if nothing changed; --force to override.
hiarky viewGenerate .hiarky/view.html and open it. --no-open to only generate.
hiarky review [range]Show what changed between the last two snapshots, or across a git range.
hiarky listTable of snapshots: timestamp, commit, components, changes.
hiarky prune --keep <n>Delete old snapshots, keeping the newest n. --dry-run to preview.
hiarky watchSnapshot automatically when sources change. --debounce <ms>, default 1500.
hiarky install-hookSnapshot on every git commit via a post-commit hook.
hiarky uninstall-hookRemove that hook.
hiarky backfillSnapshot past commits. --max <n>, --range <rev-range>.

snap, review and backfill accept --no-cache to bypass the analysis cache.

review options ​

sh
hiarky review                          # last two snapshots (no git needed)
hiarky review main..HEAD               # everything on this branch
hiarky review main...HEAD              # since the branches diverged
hiarky review v1.2.0                   # a single rev means <rev>..HEAD
hiarky review main..HEAD --format md   # markdown, for a PR comment
hiarky review main..HEAD --format json # the full data, for tooling
hiarky review main..HEAD --per-commit  # one section per commit
hiarky review main..HEAD --all-files   # don't narrow to files the range touched

Released under the MIT License.