CLI integration
Local commands for report upload.
The CLI is the boundary between local Sherpa analysis and dashboard-ready audit reports.
dart run Audit Sherpa generate --project-root . --bundle reports/audit_bundle
dart run Audit Sherpa validate reports/audit_bundle
dart run Audit Sherpa package --bundle reports/audit_bundle --output reports/audit_bundle.zip
AUDIT_SHERPA_TOKEN=<token> dart run Audit Sherpa upload --bundle reports/audit_bundle.zip --repository-slug org/repo
Stable upload endpoint
The CLI uploads to the stable `/api/audits/upload` path while dashboard reads remain versioned.
Local validation
Validate extracted bundles, report directories, or ZIP archives before upload.
Structured data
Uploads contain generated reports and metadata, not full repository source.