Skip to content

ocloud preview

ocloud v3.17.3View Markdown

Generated from ocloud 3.17.3. All ocloud commands · Olef Cloud overview · olef commands

Expose a workspace web port at its own private browser preview URL

Global options (--org, --project-root, --quiet, --redact) apply across commands; see the ocloud command catalog.

The workspace’s previews

Terminal window
ocloud preview ls --help
Argument Description
--workspace / -w

Open a workspace port in the browser: makes the preview when it’s new, starts the workspace when it isn’t running, and opens a single-use link

Terminal window
ocloud preview open --help
Argument Description
<port> Required. The port the workspace’s server listens on (e.g. 5173)
--workspace / -w The workspace (name or id; default: the linked project here)
--name A name for the preview when it’s new
--no-browser Print the link instead of opening a browser (it works once, for five minutes)

Remove a preview (by port or id): open pages lose it within a minute

Terminal window
ocloud preview rm --help
Argument Description
<preview> Required. The port, or the preview’s id
--workspace / -w