CLI reference/Schema and validation/schema
clavis schema push
Upload the schema from a file
sh
clavis schema push [FILE] [flags]Replace the project's schema from a YAML file. The server validates it before saving.
Examples
sh
clavis schema push
clavis schema push config/clavis.schema.yaml --dry-runFlags
--dry-run- validate and print the file without uploading
Global flags
These work with every command.
--debug- enable debug logging
--env string- environment slug
--json- output machine-readable JSON
--org string- organization slug
--overlay string- tenant/region overlay slug
--path string- folder path (default /)
--project string- project slug
--server string- Clavis server URL (default: from .clavis.yaml or saved login)
-h, --help- help for any command