grekt dashboard sync Beta
Sync local project data to the dashboard. This is the only command that communicates with the dashboard. No other command sends data automatically.
bash
grekt dashboard syncWhat it does
- Project + artifacts. Upserts project record and all installed artifacts with their elements
- Registries. Syncs registry configurations (if any are configured)
- Scan report. Reads and uploads
.grekt/reports/scan.json(if it exists), then deletes the file - Eval report. Reads and uploads
.grekt/reports/eval.json(if it exists), then deletes the file - Reconciliation. Removes artifacts from the dashboard that are no longer in the lockfile, including their scan and eval results
Configuration
Requires dashboard settings in .grekt/config.yaml:
yaml
dashboard:
url: https://your-dashboard-instance.example.com
token: gdk_your-token-hereIf no dashboard is configured, the command exits with a warning.
Output
✓ Project and 3 artifacts
✓ 2 registries
✓ Scan results (3 artifacts)
✓ Eval results
✓ Reconciled: removed 1 stale artifact
✓ Dashboard sync complete.Lines only appear for operations that had data to process.
Examples
Full sync after scanning and evaluating:
bash
grekt scan
grekt eval
grekt dashboard syncSync after removing an artifact (triggers reconciliation):
bash
grekt remove @acme/old-artifact
grekt dashboard sync