bitrise-api-cli 0.0.10 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,13 +18,25 @@ npx bitrise-api-cli@latest download --token <BITRISE_TOKEN> --workflow <WORKFLOW
18
18
 
19
19
  ## 🔐 Configuration
20
20
 
21
- ### Environment Variables (instead of CLI flags)
21
+ You can combine command-line flags, environment variables, and file-based configuration.
22
22
 
23
- | Variable | Description | Required |
24
- | -------------------------- | ------------------------------------ | ------------ |
25
- | `BITRISE_API_CLI_TOKEN` | Your Bitrise API token | Yes |
26
- | `BITRISE_API_CLI_WORKFLOW` | Workflow name for artifact downloads | Yes |
27
- | `BITRISE_APP_SLUG` | App Slug (auto-set in Bitrise CI) | Locally only |
23
+ ### Environment Variables
24
+
25
+ - `BITRISE_API_CLI_TOKEN`
26
+ - `BITRISE_API_CLI_WORKFLOW`
27
+ - `BITRISE_APP_SLUG` App Slug (auto-set in Bitrise CI)
28
+
29
+ ### File-Based Configuration
30
+
31
+ The `.bitrise.json` file can be placed in your project root or home directory.
32
+
33
+ ```json
34
+ {
35
+ "token": "your-bitrise-token",
36
+ "slug": "your-app-slug",
37
+ "workflow": "your-workflow-name"
38
+ }
39
+ ```
28
40
 
29
41
  ## 💡 Examples
30
42