MCPcopy
hub / github.com/pluwen/awesome-testflight-link / parse_platforms_from_string

Function parse_platforms_from_string

scripts/add_link.py:22–28  ·  view source on GitHub ↗

Parse comma-separated platform string into validated list.

(s: str)

Source from the content-addressed store, hash-verified

20
21# Parse comma-separated platform string from CLI or env
22def parse_platforms_from_string(s: str) -> list:
23 """Parse comma-separated platform string into validated list."""
24 if not s:
25 return []
26 parts = [p.strip().lower() for p in s.split(',') if p.strip()]
27 valid = {'ios', 'ipados', 'macos', 'tvos', 'visionos'}
28 return [p for p in parts if p in valid]
29
30async def check_status(session, key, retry=10):
31 app_name = ""

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected