Sites

Menu
These are the docs for 13.7, an old version of SpatialOS. The docs for this version are frozen: we do not correct, update or republish them. 14.1 is the newest →

spatial local worker-flag get

Gets a value of a given worker flag for a local deployment.

Description

Gets a value of a given worker flag for a local deployment. Command logs message with flag value or error details in case of an exception.

spatial local worker-flag get <worker_type> <flag_name> [flags]

Options

      --local_service_grpc_port uint16   Port on which the local version of Improbable's public gRPC services are running. (default 22000)
      --project string                   Project name - required if running this command outside of a SpatialOS project directory. If this flag is not specified and the command is run in a SpatialOS directory, projectName will be taken from spatialos.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.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums