Downcity
Commands

studio public

Manage persisted public exposure for Console

studio public

studio public manages the persisted public exposure mode for Console.

This command only controls the Console / control plane bind behavior. It does not change how individual agents listen.

Usage

studio public
studio public status
studio public on
studio public on --host 0.0.0.0
studio public off

Actions

  • no action: open the interactive public-mode manager in a TTY
  • status: show persisted public mode and current Console runtime state
  • on: enable persisted public mode
  • off: disable persisted public mode

Common options

  • --host <host>: bind host to use when public mode is enabled, default 0.0.0.0

Important behavior

  • studio public on saves a persisted Console public-mode setting for future studio start and studio console start.
  • If Console is already running, studio public on or studio public off automatically restarts Console so the new binding takes effect.
  • Explicit runtime flags still win. For example, studio console start --host 127.0.0.1 overrides the persisted public setting for that launch.
  • studio public only manages Console exposure. It is not a global switch for every runtime endpoint.

Typical flow

# 1) inspect current persisted mode
studio public status

# 2) enable public exposure for future starts
studio public on

# 3) or pin a custom host
studio public on --host 10.0.0.5

# 4) start city as usual
studio start

# 5) disable public exposure again
studio public off