id, appId, createdAt, updatedAt) are stripped.
Usage
Example output
What happens
- Fetches all schemas from the Vela API for your app
- Writes each schema to
{schemasDir}/{eventName}.json - Strips server-only fields so the file matches the expected local format
- Creates the schemas directory if it doesn’t exist
Options
| Flag | Description |
|---|---|
--app <slug> | Override the app from vela.config.json |
--dir <path> | Override the schemas directory |
Use cases
- Initial setup — pull existing schemas when adopting the CLI for the first time
- Sync after dashboard edits — if someone modifies schemas in the dashboard, pull to keep local files in sync
- Backup — periodically pull schemas as a safety net