Tomacco

Docs Operation reference remote operations

remote operations#

6 operations. Generated from assets/operations.json; all areas.

On this page (6)

remote.list#

Mac workspaces

List explicitly configured SSH Mac workspaces.

Annotations: read-only, idempotent, open world.

Takes no arguments.

tomaccoctl call remote.list

remote.configure#

Connect Mac

Configure an SSH host alias and absolute directory; authentication stays in SSH.

Annotations: writes, idempotent, open world.

ArgumentTypeRequiredDefaultDetails
namestringyes
hoststringyes
directorystringyes
tomaccoctl call remote.configure '{"name":"<name>","host":"<host>","directory":"<directory>"}'

remote.check#

Check Mac

Check macOS, Xcode and available Simulator devices through SSH.

Annotations: read-only, idempotent, open world.

ArgumentTypeRequiredDefaultDetails
namestringyes
tomaccoctl call remote.check '{"name":"<name>"}'

remote.sync#

Transfer project to Mac

Sync project files without deleting remote files; exclude credentials and build caches.

Annotations: writes, idempotent, open world.

ArgumentTypeRequiredDefaultDetails
namestringyes
pathstringyesnon-empty; Absolute local filesystem path
tomaccoctl call remote.sync '{"name":"<name>","path":"<path>"}'

remote.run#

Run on Mac

Run an argv array in the configured remote workspace, e.g. xcodebuild or xcrun simctl.

Annotations: destructive, not idempotent, open world.

ArgumentTypeRequiredDefaultDetails
namestringyes
argvarray of stringyes1 to 100 items
timeoutinteger18001 to 86400
tomaccoctl call remote.run '{"name":"<name>","argv":["<argv>"]}'

remote.fetch#

Download Mac artifact

Download a workspace-relative build artifact through SSH/rsync.

Annotations: writes, not idempotent, open world.

ArgumentTypeRequiredDefaultDetails
namestringyes
remote_pathstringyes
pathstringyesnon-empty; Absolute local filesystem path
tomaccoctl call remote.fetch '{"name":"<name>","remote_path":"<remote_path>","path":"<path>"}'

View this page as Markdown on GitHub