These are the docs for 14.0, an old version of SpatialOS.
The docs for this version are frozen: we do not correct, update or republish them.
14.2 is the newest →
spatial schema check
Checks that schema doesn't contain errors.
spatial schema check [flags]
Options
-d, --dependency strings Library directory containing .schema files. Like --input, but no code is generated for these files. Can be specified multiple times. (default [[]])
-i, --input strings Input directory containing .schema files. Can be specified multiple times. (default [[${PROJECT_ROOT}/schema," [${PROJECT_ROOT}/build/dependencies/schema/${DEPENDENCY_NAME}"," ...]]"])
-R, --repository strings Repository directory containing subdirectories with schema dependencies. Equivalent to adding --dependency for each immediate subdirectory of the specified repository directory. Can be specified multiple times. (default [[]])
--version string Spatial SDK version to download the schema compiler executable from.
Options inherited from parent commands
--json_output Print output in JSON format. Useful when you need to parse the Spatial CLI output.
--log_directory string Sets the directory log files will be created in. If not specified, this is set to <project_root>/logs when inside a project directory and logging is disabled when outside a project directory.
--log_level string Sets the log level. Available log levels: debug, info, warning, error, fatal, or panic.
--main_config string The path to your project's main configuration file (usually called spatialos.json)
--no_animation Disable dynamic output elements such as the spinner, progress bars, etc.