Schema
Retrieve or create schemas
Siera offers the following methods for schemas:
siera schema [OPTIONS] [SUBCOMMAND]
Alias | Flag | Description |
---|---|---|
-h | --help | Print help information |
Command | Description |
---|---|
create | Create a new schema |
list | List all your current schemas |
Create a new schema.
siera schema create [OPTIONS] --name <NAME> --attribute <ATTRIBUTE>
Alias | Flag | Description |
---|---|---|
-h | --help | Print help information |
-n | --name <NAME> | Name of the schema |
-a | --attribute <ATTRIBUTE> | Keys that describe the structure of the schema - for example "age". Given in t following format: -a foo -a bar -a baz |
-v | --version <VERSION> | Version of of the schema, useful to be able to specify multiple versions of the same schema [default: 1.0] |
Create a new schema with the properties
name
and age
. The -c
flag automatically copies the ID of the created schema to your clipboard.siera -c schema create -n example -a name -a age
Last modified 6mo ago