INNER CODE UNIT · Python
main
pluwen/awesome-testflight-link · scripts/batch_add_link.py:40
async def main():
args = sys.argv[1:]
if len(args) < 2:
print("Usage: python batch_add_link.py <links_file_or_raw> <platforms>")
print()
print("Batch add multiple TestFlight links that share the same platform(s).")
print()
print("Arguments:")
print(" links - A file path containing links (one per line),")
print(" or a string with links separated by newlines / commas")
print(" platforms - Comma-separated platforms (e.g. ios,ipados,macos,tvos,visionos)")
print()
print("Examples:")
print(" python3 batch_add_link.py links.txt ios")
print(" python3 batch_add_link.py 'AbcXYZ,Def123,Ghi456' ios,ipados")
print()
print(" File format (links.txt):")