0.0.8 ⢠Published 4 months ago
bitrise-api-cli v0.0.8
Bitrise API CLI

š An unofficial CLI tool for Bitrise API artifact downloads.
šÆ Features
- Download artifacts from successful builds
- Workflow-based retrieval
- CI/CD integration
š Quick Start
Download Artifacts
npx bitrise-api-cli@latest download --token <BITRISE_TOKEN> --workflow <WORKFLOW_NAME> [--slug <APP_SLUG>]
š Configuration
Environment Variables (instead of CLI flags)
Variable | Description | Required |
---|---|---|
BITRISE_API_CLI_TOKEN | Your Bitrise API token | Yes |
BITRISE_API_CLI_WORKFLOW | Workflow name for artifact downloads | Yes |
BITRISE_APP_SLUG | App Slug (auto-set in Bitrise CI) | Locally only |
š” Examples
Command Line
npx bitrise-api-cli@latest download --token abc123 --workflow android-release --slug a1b2c3d4e5f6
CI/CD Integration
Integrate this CLI tool using the "Script" Step to download artifacts from previous builds, eliminating the need to rebuild from source.
steps:
- script:
inputs:
content: |
npx bitrise-api-cli download \
--workflow android-release \
--token $BITRISE_API_TOKEN
š License
This project is MIT licensed.