Avisi cloud logo
Commands

playroom open

Open an existing playroom in your preferred editor (alpha)

Synopsis

Open a running playroom in a locally installed editor over SSH.

ALPHA: this command is in active development; flags and behaviour may change between releases.

Pass - as the playroom name to reopen the last-used playroom. The editor is also restored from cache unless overridden with flags. The --playhouse flag inherits its default from the last-used playhouse (see 'acloud playroom --help').

For an interactive SSH session in your current terminal, use 'acloud playroom connect' instead.

acloud playroom open <playroom-name | -> [flags]

Examples

  # open a playroom in VS Code
  acloud playroom open my-room --playhouse playhouse-ame-01 --editor vscode

  # reopen the last-used playroom with the same editor
  acloud playroom open -

  # reopen the last-used playroom but switch editor
  acloud playroom open - --editor intellij

Options

      --editor string   application to open with (defaults to last-used, then vscode): intellij, vscode, webstorm
  -h, --help            help for open
      --tunnel          connect through an API-server port-forward instead of the playroom's exposed address (works without Tailscale/NodePort reachability)

Options inherited from parent commands

  -C, --context string                    sets the context
      --debug                             enable debug mode
      --debug-show-authorization-header   prints actual authorization header in debug mode, use with caution!
  -O, --organisation string               sets the organisation
  -p, --playhouse string                  playhouse cluster slug (defaults to last-used; supports <env>/<slug>, etc.)
      --request-timeout duration          request timeout for api calls to the Avisi Cloud API (default 15s)
      --trace                             enable trace mode

SEE ALSO

On this page