Parse comma-separated platform string into validated list.
(s: str)
| 20 | |
| 21 | # Parse comma-separated platform string from CLI or env |
| 22 | def 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 | |
| 30 | async def check_status(session, key, retry=10): |
| 31 | app_name = "" |