@proggarapsody/bitbottle 1.111.0 → 1.113.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 +33 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,10 +95,12 @@ Tokens are intentionally stripped from `hosts.yml` on every save. If you have an
|
|
|
95
95
|
| `deployment` | `list` `view` _(Cloud only)_ |
|
|
96
96
|
| `environment` | `list` `create` `delete` _(Cloud only)_ |
|
|
97
97
|
| `user` | `view` |
|
|
98
|
-
| `workspace` | `list` `member list` `hook list` `hook create` `hook delete` _(Cloud only)_ |
|
|
98
|
+
| `workspace` | `list` `member list` `hook list` `hook create` `hook delete` `project {create\|view\|edit\|delete}` `perms {list\|repo list\|grant\|revoke}` _(Cloud only)_ |
|
|
99
|
+
| `mirror` | `list` `view` `repo list` _(Server/DC only)_ |
|
|
99
100
|
| `project` | `list WORKSPACE` _(Cloud only)_ · `server-list` `create` `view` `edit` `delete` _(Server/DC only)_ |
|
|
100
101
|
| `issue` | `list` `view` `create` `close` `edit` `reopen` `assign` `comment {list\|add\|edit\|delete}` _(Cloud only)_ |
|
|
101
102
|
| `milestone` | `list` `view` _(Cloud only)_ |
|
|
103
|
+
| `version` | `list` `view` `create` `delete` _(Cloud only)_ |
|
|
102
104
|
| `search` | `code QUERY` _(Cloud only)_ |
|
|
103
105
|
| `api` | Raw REST passthrough with pagination, `--jq`, variable expansion |
|
|
104
106
|
| `alias` | Custom command shortcuts |
|
|
@@ -489,6 +491,15 @@ bitbottle workspace hook create myworkspace --url https://example.com/hook --eve
|
|
|
489
491
|
bitbottle workspace hook create myworkspace --url https://example.com/hook --events repo:push --events pullrequest:created
|
|
490
492
|
|
|
491
493
|
bitbottle workspace hook delete myworkspace WEBHOOK-UUID
|
|
494
|
+
|
|
495
|
+
# Workspace permissions (Cloud only)
|
|
496
|
+
bitbottle workspace perms list myworkspace
|
|
497
|
+
bitbottle workspace perms list myworkspace --json
|
|
498
|
+
|
|
499
|
+
bitbottle workspace perms repo list myworkspace
|
|
500
|
+
|
|
501
|
+
bitbottle workspace perms grant myworkspace --user alice --permission member
|
|
502
|
+
bitbottle workspace perms revoke myworkspace --user alice --confirm
|
|
492
503
|
```
|
|
493
504
|
|
|
494
505
|
All commands surface a typed unsupported-capability error against
|
|
@@ -595,6 +606,27 @@ bitbottle --hostname git.example.com code-insights merge-check delete \
|
|
|
595
606
|
Invoking any `code-insights` command against a Bitbucket Cloud host returns
|
|
596
607
|
the typed `host.unsupported` error.
|
|
597
608
|
|
|
609
|
+
### Mirror Servers _(Bitbucket Server / DC only)_
|
|
610
|
+
|
|
611
|
+
List and inspect Smart Mirror servers configured on a Bitbucket Server instance.
|
|
612
|
+
|
|
613
|
+
```bash
|
|
614
|
+
# List all mirror servers
|
|
615
|
+
bitbottle mirror list --hostname git.example.com
|
|
616
|
+
|
|
617
|
+
# View a specific mirror server
|
|
618
|
+
bitbottle mirror view MIRROR-ID --hostname git.example.com
|
|
619
|
+
|
|
620
|
+
# List repos mirrored by a specific server
|
|
621
|
+
bitbottle mirror repo list MIRROR-ID --hostname git.example.com
|
|
622
|
+
|
|
623
|
+
# JSON output
|
|
624
|
+
bitbottle mirror list --hostname git.example.com --json
|
|
625
|
+
bitbottle mirror view MIRROR-ID --hostname git.example.com --json
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
Requires the Bitbucket Server Mirror module to be enabled and at least one mirror configured.
|
|
629
|
+
|
|
598
630
|
### Permissions _(Bitbucket Server / DC only)_
|
|
599
631
|
|
|
600
632
|
Manage user and group permissions for projects and repositories.
|