Skip to content

Configuration

Global Flags

Flag Environment Variable Description
--org DRAPE_ORG Organization slug
--repo DRAPE_REPO Repository name (auto-detected from CI)
--api-key DRAPE_API_KEY API key
--api-url DRAPE_API_URL API base URL (default: https://api.drape.io)
--verbose Enable verbose logging
--dry-run Parse and validate locally, don't upload

CI Auto-Detection

The CLI automatically detects branch, commit SHA, PR number, and target branch from these CI providers:

Provider Detected
GitHub Actions Branch, SHA, PR number, target branch
GitLab CI Branch, SHA, merge request IID, target branch
CircleCI Branch, SHA, PR number
Buildkite Branch, SHA, PR number
Jenkins Branch, SHA
Azure Pipelines Branch, SHA, PR number
Travis CI Branch, SHA, PR number
Bitbucket Pipelines Branch, SHA, PR number
Local git Branch, SHA (fallback)

All auto-detected values can be overridden with explicit flags.