These are the docs for 13.6, 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 package unpack
Installs versioned worker packages according to 'spatialos_worker_packages.json'.
Description
Installs versioned worker packages according to 'spatialos_worker_packages.json'.
The target paths specified in 'spatialos_worker_packages.json' should not contain any user-created content, since it may be deleted and recreated as part of the unpacking process.
For more information about this file's format, see the SpatialOS documentation.
Any necessary folder structures will be created in the output folder.
spatial package unpack [flags]
Options
--force If true, package contents are always extracted, even if none of the packages have changed.
--package_file string The path to the file that specifies the packages to unpack. (default "spatialos_worker_packages.json")
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.