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.
ocloud preview ls
Section titled “ocloud preview ls”The workspace’s previews
ocloud preview ls --help| Argument | Description |
|---|---|
--workspace / -w |
ocloud preview open
Section titled “ocloud preview open”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
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) |
ocloud preview rm
Section titled “ocloud preview rm”Remove a preview (by port or id): open pages lose it within a minute
ocloud preview rm --help| Argument | Description |
|---|---|
<preview> |
Required. The port, or the preview’s id |
--workspace / -w |