@vela/cli package lets you define event schemas as local JSON files and sync them to the Vela API. No more manual API calls to register schemas.
How it works
- Define schemas as JSON files in your project
- Preview changes with
vela diff - Push to create/update schemas on the Vela API
- Pull to download remote schemas as local files
Why use the CLI?
- Version control — schemas live in your repo, reviewed in PRs
- CI/CD — use
vela diffas a gate to catch schema drift - Team collaboration — everyone sees the same schema definitions
- Environment parity — push the same schemas to staging and production
Quick links
Installation
Install the CLI.
Push
Sync local schemas to remote.
Pull
Download remote schemas to local files.
Diff
Preview changes without pushing.