Docs Operation reference desktop operations
desktop operations#
2 operations. Generated from assets/operations.json; all areas.
desktop.status#
Desktop status
Read recent jobs and live preview sessions for the desktop panel.
Annotations: read-only, idempotent, open world.
Takes no arguments.
tomaccoctl call desktop.status
desktop.open#
Open Tomacco
Show an existing desktop session or start one, opening the requested workspace tab.
Annotations: writes, idempotent, open world.
| Argument | Type | Required | Default | Details |
|---|---|---|---|---|
tab | string | "runtime" | one of runtime, preview, project, devices, ios-research, jobs, tools, debug, testing, profiling, files, release | |
session | string | "main" | matching [A-Za-z0-9_-]{1,40}; Running preview session name; defaults to main | |
path | string | Project root to open | ||
file | string | Project-relative source file to reveal in the files tab | ||
line | integer | 1 | 1 to 10000000 | |
device_only | boolean | false | Start the desktop without showing its main window, for a detached device window. A desktop that is already running is left as it is. |
tomaccoctl call desktop.open