cua viewer
One local browser page that lists every sandbox and opens its viewer.
One local browser page that lists every sandbox and opens its viewer.
Every command also accepts the global options.
Serve the HTML5 viewer for every sandbox on one loopback port.
cua viewer [OPTIONS]| Flag | Type | Default | Description |
|---|---|---|---|
--listen | string | 127.0.0.1:0 | Address to listen on (loopback only). |
--no-open | boolean | false | Print the URL without opening a browser. |
Examples
# List your sandboxes in the browser and open any of them
cua viewer
# Fixed port, print the URL only
cua viewer --listen 127.0.0.1:8211 --no-open| Code | Meaning |
|---|---|
0 | Success. |
1 | Failure, or cua do reported an error. |
2 | Invalid argument, or an ambiguous sandbox name (qualify it: local:NAME, cloud:NAME). |
3 | Not found: sandbox, window, skill or image (or an image not published yet). |
4 | Not supported, or not configured (for example no Fleet credentials). |
5 | No cua-spacesd answered, or a transport failure. |
6 | Unauthenticated or permission denied (by Cua, Fleet or your cloud account). |
7 | Not enough free disk space (see cua cache). |
130 | Cancelled (Ctrl-C during a create): what it made was removed. |