spatial worker codegen
Generates code for all workers.
For each worker, runs the 'Codegen' task, which is specified, either directly or indirectly, in the worker's 'spatialos.<worker_name>.worker.json'.
By default, this task processes the application's schema and generates code.
See the SpatialOS documentation for more information about customising this process.
Default behaviour and specifying worker names:
If run from the root of the application with no arguments, all workers will be affected. If run from within a worker's directory with no arguments, only that worker will be affected. If worker names are specified on the command line, only those workers will be affected, regardless of where it is run from.
spatial worker codegen [worker names] [flags]
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. --no_animation Disable dynamic output elements such as the spinner, progress bars, etc.
- spatial worker - Commands related to workers.