(message)
| 19 | print(" --index-only Upload only index.json") |
| 20 | |
| 21 | def exit_with_error(message): |
| 22 | print_error(message) |
| 23 | sys.exit(1) |
| 24 | |
| 25 | def main(path: str, version: str, cloudflare_account_id, cloudflare_token_name: str, cloudflare_token_value: str, index_only: bool): |
| 26 | if not os.path.exists(path): |