@proggarapsody/bitbottle 1.40.0 → 1.42.0
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 +19 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,6 +47,11 @@ bitbottle skill remove # uninstall
|
|
|
47
47
|
go install github.com/proggarapsody/bitbottle/cmd/bitbottle@latest
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
**Nix:**
|
|
51
|
+
```sh
|
|
52
|
+
nix run github:proggarapsody/bitbottle -- --version
|
|
53
|
+
```
|
|
54
|
+
|
|
50
55
|
**Homebrew / binary / deb / rpm / Docker** — see the [latest release](https://github.com/proggarapsody/bitbottle/releases/latest).
|
|
51
56
|
|
|
52
57
|
---
|
|
@@ -231,16 +236,17 @@ bitbottle environment create MYWORKSPACE/my-service --name "Prod" --type Product
|
|
|
231
236
|
# Delete an environment (destructive — --confirm required on non-TTY)
|
|
232
237
|
bitbottle environment delete MYWORKSPACE/my-service {env-uuid} --confirm
|
|
233
238
|
|
|
234
|
-
# Environment variables (
|
|
235
|
-
bitbottle
|
|
236
|
-
bitbottle
|
|
237
|
-
bitbottle
|
|
238
|
-
bitbottle
|
|
239
|
+
# Environment variables — use variable --scope deployment (see deprecation note below)
|
|
240
|
+
bitbottle variable list MYWORKSPACE/my-service --scope deployment --env {env-uuid}
|
|
241
|
+
bitbottle variable set MYWORKSPACE/my-service DEPLOY_KEY prod-val --scope deployment --env {env-uuid}
|
|
242
|
+
bitbottle variable set MYWORKSPACE/my-service API_TOKEN secret --scope deployment --env {env-uuid} --secured
|
|
243
|
+
bitbottle variable delete MYWORKSPACE/my-service DEPLOY_KEY --scope deployment --env {env-uuid} --confirm
|
|
239
244
|
```
|
|
240
245
|
|
|
241
|
-
All commands support `--json fields` and `--jq expr`.
|
|
242
|
-
|
|
243
|
-
|
|
246
|
+
All commands support `--json fields` and `--jq expr`. Secured variable values
|
|
247
|
+
are never returned by the API once set.
|
|
248
|
+
|
|
249
|
+
**`environment variable *` is deprecated.** Use `bitbottle variable --scope deployment --env ENV-UUID` instead. The old commands still work but print a deprecation warning.
|
|
244
250
|
|
|
245
251
|
These commands return a typed unsupported-capability error on Bitbucket Server /
|
|
246
252
|
Data Center — deployments and environments are a Cloud-only feature.
|
|
@@ -475,6 +481,11 @@ bitbottle commit comment delete MYPROJ/my-service abc1234 1234
|
|
|
475
481
|
# Structured output
|
|
476
482
|
bitbottle commit comment list MYPROJ/my-service abc1234 --json id,author,body
|
|
477
483
|
bitbottle commit comment list MYPROJ/my-service abc1234 --jq '.[].body'
|
|
484
|
+
|
|
485
|
+
# Emoji reactions (Bitbucket Server / DC only)
|
|
486
|
+
bitbottle commit comment list MYPROJ/my-service abc1234 --reactions # adds REACTIONS column
|
|
487
|
+
bitbottle commit comment react MYPROJ/my-service abc1234 1234 --emoji thumbs_up
|
|
488
|
+
bitbottle commit comment unreact MYPROJ/my-service abc1234 1234 --emoji thumbs_up
|
|
478
489
|
```
|
|
479
490
|
|
|
480
491
|
On Bitbucket Server / Data Center, `edit` and `delete` use optimistic
|