@proggarapsody/bitbottle 1.64.0 → 1.66.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 +20 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ Tokens are intentionally stripped from `hosts.yml` on every save. If you have an
|
|
|
92
92
|
| `deployment` | `list` `view` _(Cloud only)_ |
|
|
93
93
|
| `environment` | `list` `create` `delete` _(Cloud only)_ |
|
|
94
94
|
| `user` | `view` |
|
|
95
|
-
| `workspace` | `list` `member list` _(Cloud only)_ |
|
|
95
|
+
| `workspace` | `list` `member list` `hook list` `hook create` `hook delete` _(Cloud only)_ |
|
|
96
96
|
| `project` | `list WORKSPACE` _(Cloud only)_ |
|
|
97
97
|
| `issue` | `list` `view` `create` `close` `edit` `reopen` `assign` `comment {list\|add\|edit\|delete}` _(Cloud only)_ |
|
|
98
98
|
| `search` | `code QUERY` _(Cloud only)_ |
|
|
@@ -393,6 +393,16 @@ Data Center, which has no fork primitive in its REST API. Both `rename` and
|
|
|
393
393
|
`fork` accept `--json fields` and `--jq expr` for structured output.
|
|
394
394
|
`repo transfer` works on both backends and also accepts `--json`/`--jq`.
|
|
395
395
|
|
|
396
|
+
```bash
|
|
397
|
+
# Get or set repository visibility
|
|
398
|
+
bitbottle repo visibility MYPROJ/my-service # prints "public" or "private"
|
|
399
|
+
bitbottle repo visibility MYPROJ/my-service public # make the repo public
|
|
400
|
+
bitbottle repo visibility MYPROJ/my-service private # make the repo private
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
`repo visibility` works on both Bitbucket Cloud and Server / Data Center.
|
|
404
|
+
MCP tool: `repo_visibility(repo[, visibility])`.
|
|
405
|
+
|
|
396
406
|
### Reading source at a ref
|
|
397
407
|
|
|
398
408
|
Read file content and directory listings at any ref (branch, tag, commit
|
|
@@ -435,6 +445,15 @@ bitbottle project list myworkspace --limit 100
|
|
|
435
445
|
bitbottle workspace member list myworkspace
|
|
436
446
|
bitbottle workspace member list # inferred from pinned repo
|
|
437
447
|
bitbottle workspace member list myworkspace --json
|
|
448
|
+
|
|
449
|
+
# Webhooks for a workspace
|
|
450
|
+
bitbottle workspace hook list myworkspace
|
|
451
|
+
bitbottle workspace hook list myworkspace --json
|
|
452
|
+
|
|
453
|
+
bitbottle workspace hook create myworkspace --url https://example.com/hook --events repo:push,pullrequest:created
|
|
454
|
+
bitbottle workspace hook create myworkspace --url https://example.com/hook --events repo:push --events pullrequest:created
|
|
455
|
+
|
|
456
|
+
bitbottle workspace hook delete myworkspace WEBHOOK-UUID
|
|
438
457
|
```
|
|
439
458
|
|
|
440
459
|
All commands surface a typed unsupported-capability error against
|