@proggarapsody/bitbottle 1.46.0 → 1.47.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 +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -89,6 +89,7 @@ Tokens are intentionally stripped from `hosts.yml` on every save. If you have an
|
|
|
89
89
|
| `branch` | `list` `create` `delete` `checkout` |
|
|
90
90
|
| `tag` | `list` `create` `delete` |
|
|
91
91
|
| `webhook` | `list` `view` `create` `delete` |
|
|
92
|
+
| `deploy-key` | `list` `add` `delete` |
|
|
92
93
|
| `commit` | `log` `view` `status` `comment {list\|add\|edit\|delete}` |
|
|
93
94
|
| `pipeline` | `list` `view` `run` _(Cloud only)_ |
|
|
94
95
|
| `deployment` | `list` `view` _(Cloud only)_ |
|
|
@@ -278,6 +279,22 @@ Event keys differ between backends:
|
|
|
278
279
|
from a file. Trailing newlines from stdin / file are trimmed. Webhook
|
|
279
280
|
secrets are write-only — neither backend returns them on read.
|
|
280
281
|
|
|
282
|
+
### Deploy keys
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
# List deploy keys
|
|
286
|
+
bitbottle deploy-key list MYPROJ/my-service
|
|
287
|
+
|
|
288
|
+
# Add a deploy key
|
|
289
|
+
bitbottle deploy-key add MYPROJ/my-service --key "ssh-rsa AAAA..." --label "CI server"
|
|
290
|
+
|
|
291
|
+
# Delete a deploy key by ID
|
|
292
|
+
bitbottle deploy-key delete MYPROJ/my-service 42
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
All three subcommands work on both Bitbucket Cloud and Server/DC. `list` and
|
|
296
|
+
`add` support `--json` / `--jq` / `--yaml` for structured output.
|
|
297
|
+
|
|
281
298
|
### Repo extras
|
|
282
299
|
|
|
283
300
|
```bash
|