docs: updated cli commands

This commit is contained in:
saberzero1
2026-03-31 18:50:38 +02:00
parent db2cc6abca
commit 04912ac2e5
14 changed files with 67 additions and 111 deletions

View File

@@ -77,8 +77,8 @@ When `npx quartz plugin add github:quartz-community/explorer` is run:
### Plugin CLI Commands
- `npx quartz plugin add github:quartz-community/<name>` — Install a community plugin
- `npx quartz plugin update` — Update all plugins to latest commits
- `npx quartz plugin restore` — Restore plugins from locked commits in `quartz.lock.json` (used in CI/CD)
- `npx quartz plugin install --latest` — Update all plugins to latest commits
- `npx quartz plugin install --clean` — Restore plugins from locked commits in `quartz.lock.json` (used in CI/CD)
- `npx quartz plugin remove <name>` — Remove an installed plugin
### Plugin Structure

View File

@@ -514,10 +514,10 @@ If you've updated your `quartz.config.yaml` to reference a plugin that isn't ins
```shell
# Install all config-referenced plugins missing from the lockfile
npx quartz plugin resolve
npx quartz plugin install --from-config
# Preview first without making changes
npx quartz plugin resolve --dry-run
npx quartz plugin install --from-config --dry-run
```
To clean up plugins that are installed but no longer referenced in your config: