.json files from the input directory and pushes them. By default, changes are committed immediately (--commit=true). Use --slug to push a single schema. Any schema that fails validation will be skipped and not pushed to the workspace.
Syntax
Options
| Flag | Description | Default |
|---|---|---|
-h, --help | Show help for the command | – |
-c, --commit string | Promote changes from draft to live after pushing (true/false) | true |
-m, --commit-message string | Message describing the changes being committed | – |
-d, --dir string | Directory containing schema JSON files | ./suprsend/schema |
-g, --slug string | Schema slug to push (omit to push all) | – |
-j, --json string | Schema definition as a JSON object (requires --slug). Must be a valid JSON Schema object | – |