app/cli/remove
dgadd remove
Remove installed Diffgazer registry items.
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
- Validates item names against the bundled registry.
- Resolves installed files for those items.
- Skips files still used by other installed items.
- Removes selected files and cleans empty directories.
- Updates the local
diffgazer.jsonmanifest. - Prints potentially orphaned npm dependencies.