MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / maestro_bundle_id

Function maestro_bundle_id

packages/server/src/main/maestro.rs:280–284  ·  view source on GitHub ↗
(value: &YamlValue)

Source from the content-addressed store, hash-verified

278}
279
280fn maestro_bundle_id(value: &YamlValue) -> anyhow::Result<String> {
281 yaml_string_or_field(value, "appId")
282 .or_else(|| yaml_string_or_field(value, "bundleId"))
283 .ok_or_else(|| anyhow::anyhow!("launchApp requires `appId` or `bundleId`."))
284}
285
286fn maestro_tap_body(value: &YamlValue) -> anyhow::Result<Value> {
287 if let Some(point) = yaml_field(value, "point")

Callers 1

run_maestro_commandFunction · 0.85

Calls 1

yaml_string_or_fieldFunction · 0.85

Tested by

no test coverage detected