Schema
Retrieve or create schemas
Siera offers the following methods for schemas:
Usage
Options
Alias | Flag | Description |
---|---|---|
|
| Print help information |
Subcommands
Command | Description |
---|---|
create | Create a new schema |
list | List all your current schemas |
Create a schema
Create a new schema.
Available flags
Alias | Flag | Description |
---|---|---|
|
| Print help information |
|
| Name of the schema |
|
| Keys that describe the structure of the schema - for example "age". Given in t following format: -a foo -a bar -a baz |
|
| Version of of the schema, useful to be able to specify multiple versions of the same schema [default: 1.0] |
Example usage
Create a new schema with the properties name
and age
. The -c
flag automatically copies the ID of the created schema to your clipboard.
Last updated