Skip to content

Flags

Pass --help to any command for the generated flag list:

sh
simdeck --help
simdeck tap --help
simdeck daemon start --help

Global

FlagEnvPurpose
--server-url <url>SIMDECK_SERVER_URLTarget a specific running daemon
--device <selector>SIMDECK_DEVICEOne-off simulator override

SIMDECK_UDID is also accepted for compatibility. Device commands resolve in this order: positional UDID, --device, SIMDECK_DEVICE, SIMDECK_UDID, the project default from simdeck use <udid>, then auto-inference from the daemon.

Server Options

Used by simdeck ui, daemon start, daemon restart, service on, and service restart.

FlagDefaultNotes
--port <port>4311 for daemons, 4310 for serviceHTTP port. Daemons probe upward when busy
--bind <ip>127.0.0.1Use 0.0.0.0 or :: for LAN access
--advertise-host <host>detectedHost printed for remote browsers
--client-root <path>bundled clientStatic client directory
--video-codec <mode>autoauto, hardware, or software
--stream-quality <profile>fullfull, balanced, economy, low, tiny, ci-software, and related profiles
--local-stream-fps <fps>60Local stream frame target
--low-latencyoffConservative software H.264 profile
--openoffui only

describe

Alias: snapshot.

FlagPurpose
--format <format>json, compact-json, or agent
--source <source>native-ax by default; accepts auto, nativescript, react-native, flutter, swiftui, uikit, native-ax, or android-uiautomator
--max-depth <n>Trim hierarchy depth
--include-hiddenInclude hidden nodes when supported
-i, --interactiveKeep only actionable elements plus ancestors
--point <x>,<y>Describe the element at a screen point
--directSkip daemon and use native accessibility directly

Input

CommandUseful flags
tap / press--id, --label, --value, --element-type, --index, --wait-timeout-ms, --expect-id, --expect-label, --expect-timeout-ms, --normalized, --duration-ms
touch--phase, --normalized, --down, --up, --delay-ms
swipe--normalized, --duration-ms, --steps
gesture--normalized, --duration-ms, --delta
pinch--start-distance, --end-distance, --angle-degrees, --normalized
rotate-gesture--radius, --degrees, --normalized
type--stdin, --file, --delay-ms
key--modifiers, --duration-ms
key-sequence--keycodes, --delay-ms
key-combo--modifiers, --key
button--duration-ms
back--timeout-ms, --poll-interval-ms, --no-fallback-swipe

describe --format agent prints element refs like @e3; pass one as simdeck press @e3 to target that element by traversal order. Use tap --expect-* to wait for a post-tap state in the same command; use back for app-owned navigation instead of first discovering the current back button label.

Evidence And Batch

CommandFlags
screenshot--output <path>, --stdout, --with-bezel
record--seconds <seconds>, --output <path>, --stdout
logs--seconds <seconds>, --limit <count>
stats--pid <pid>, --watch, --interval <seconds>
sample--pid <pid>, --seconds <seconds>
pasteboard set--stdin, --file
batch--step, --file, --stdin, --continue-on-error

Exit Codes

CodeMeaning
0Success
1Runtime or command failure
2Argument parsing failure

Released under the Apache-2.0 License.