@proggarapsody/bitbottle 1.49.1 → 1.51.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 +32 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,12 +84,13 @@ Tokens are intentionally stripped from `hosts.yml` on every save. If you have an
|
|
|
84
84
|
| Group | Commands |
|
|
85
85
|
|---|---|
|
|
86
86
|
| `auth` | `login` `logout` `status` `token` `refresh` |
|
|
87
|
-
| `pr` | `list` `view` `create` `merge` `approve` `unapprove` `diff` `checkout` `edit` `decline` `reopen` `ready` `request-review` `comment` |
|
|
87
|
+
| `pr` | `list` `view` `create` `merge` `approve` `unapprove` `diff` `checkout` `edit` `decline` `reopen` `ready` `request-review` `comment` `default-reviewer {list\|add\|remove}` |
|
|
88
88
|
| `repo` | `list` `view` `create` `delete` `clone` `set-default` `rename` `fork` _(Cloud)_ `file get` `tree` |
|
|
89
89
|
| `branch` | `list` `create` `delete` `checkout` |
|
|
90
90
|
| `tag` | `list` `create` `delete` |
|
|
91
91
|
| `webhook` | `list` `view` `create` `delete` |
|
|
92
92
|
| `deploy-key` | `list` `add` `delete` |
|
|
93
|
+
| `ssh-key` | `list` `add` `delete` _(Cloud only)_ |
|
|
93
94
|
| `commit` | `log` `view` `status` `comment {list\|add\|edit\|delete}` |
|
|
94
95
|
| `pipeline` | `list` `view` `run` _(Cloud only)_ |
|
|
95
96
|
| `deployment` | `list` `view` _(Cloud only)_ |
|
|
@@ -295,6 +296,36 @@ bitbottle deploy-key delete MYPROJ/my-service 42
|
|
|
295
296
|
All three subcommands work on both Bitbucket Cloud and Server/DC. `list` and
|
|
296
297
|
`add` support `--json` / `--jq` / `--yaml` for structured output.
|
|
297
298
|
|
|
299
|
+
### SSH keys (Cloud only)
|
|
300
|
+
|
|
301
|
+
```bash
|
|
302
|
+
# List SSH keys for the current user
|
|
303
|
+
bitbottle ssh-key list
|
|
304
|
+
|
|
305
|
+
# Add an SSH key
|
|
306
|
+
bitbottle ssh-key add --key "ssh-rsa AAAA..." --label "Laptop"
|
|
307
|
+
|
|
308
|
+
# Delete an SSH key by ID
|
|
309
|
+
bitbottle ssh-key delete 42
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
`list` and `add` support `--json` / `--jq` / `--yaml` for structured output.
|
|
313
|
+
|
|
314
|
+
### PR default reviewers
|
|
315
|
+
|
|
316
|
+
```bash
|
|
317
|
+
# List default reviewers
|
|
318
|
+
bitbottle pr default-reviewer list MYPROJ/my-service
|
|
319
|
+
|
|
320
|
+
# Add a default reviewer (Server: user slug; Cloud: account ID or nickname)
|
|
321
|
+
bitbottle pr default-reviewer add MYPROJ/my-service jsmith
|
|
322
|
+
|
|
323
|
+
# Remove a default reviewer
|
|
324
|
+
bitbottle pr default-reviewer remove MYPROJ/my-service jsmith
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
Both Cloud and Server/DC are supported. `list` supports `--json` / `--jq` / `--yaml`.
|
|
328
|
+
|
|
298
329
|
### Repo extras
|
|
299
330
|
|
|
300
331
|
```bash
|