INNER CODE UNIT · Python
main
pluwen/awesome-testflight-link · scripts/add_link.py:23
async def main():
# Parse arguments - link and platforms (comma-separated)
args = sys.argv[1:]
if len(args) < 1:
print("Usage: python add_link.py <link> <platforms>")
print()
print("Examples:")
print(" python3 add_link.py AbcXYZ ios")
print(" python3 add_link.py AbcXYZ ios,ipados,macos")
print()
print("Note: Platforms must be provided (comma-separated, e.g. ios,ipados,macos,tvos)")
print(" App name is auto-extracted from the TestFlight page.")
sys.exit(1)
testflight_link = args[0]
# App name is always auto-extracted from the TestFlight page (no manual input).
app_name = None