app/cli/diff
dgadd diff
Compare installed files with bundled registry versions.
Usage
bash
Info:
npm packages: @diffgazer/add is on npm. pnpm add -D @diffgazer/add puts dgadd on pnpm exec, and npx @diffgazer/add <command> runs it without the install. Components also install without dgadd from the hosted registry: npx shadcn add https://r.b4r7.dev/r/ui/<item>.json.
Examples
bash
What it does
- Loads your
diffgazer.jsonconfiguration. - Resolves requested items or auto-detects installed ones.
- Compares local files against bundled registry content.
- Prints unified diffs.
- Shows changed, unchanged, and not-installed counts.
When no item is passed, dgadd diff checks every installed UI component and hook from the local manifest.