Siera follows CLI tool conventions to make it easy to use.
After installing Siera, you can run
sierain your terminal to see all the options available to you. In this guide, we'll show you how to use Siera in your development process.
If you'd rather explore functionality through the CLI yourself, just use the
-hflag on any of the subcommands to see more info.
Siera distinguishes options and subcommands. Options before the subcommands are global, options after the subcommands are specific to that subcommand.
siera [OPTIONS] <SUBCOMMAND>
Each subcommand has their own options and subcommands, you can see which ones by using the
--helpflag at any level.
For example, if we wanted to create a schema, a command could look something like:
siera --copy schema create --name "College Degree" --attribute Grade
# Output: schema id
Where global option
--copycopies the output of a command that results in output to your clipboard.
--attributeare specific to the subcommand
Every subcommand has the option of a
--helpflag, where you'll see the usage of that subcommand, a description of the options as well as which options are required. We recommend playing around with these and trying commands out as the easiest way to get aquainted with the CLI.
We believe that good logging makes for a good CLI user experience, but we also believe a productivity focused tool should not flood the terminal with logging. That is why Siera uses different log-levels.
up to informational-level logging
up to debug-level logging
up to trace-level logging
This means by default we will only log command output, warnings and errors. If you're looking for more info, use the more extensive verbosity levels.