@proggarapsody/bitbottle 1.15.0 → 1.16.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 +18 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ Credentials are stored in `~/.config/bitbottle/hosts.yml`. Inside a git repo wit
|
|
|
76
76
|
|---|---|
|
|
77
77
|
| `auth` | `login` `logout` `status` `token` `refresh` |
|
|
78
78
|
| `pr` | `list` `view` `create` `merge` `approve` `unapprove` `diff` `checkout` `edit` `decline` `ready` `request-review` `comment` |
|
|
79
|
-
| `repo` | `list` `view` `create` `delete` `clone` `set-default` |
|
|
79
|
+
| `repo` | `list` `view` `create` `delete` `clone` `set-default` `rename` `fork` _(Cloud)_ |
|
|
80
80
|
| `branch` | `list` `create` `delete` `checkout` |
|
|
81
81
|
| `tag` | `list` `create` `delete` |
|
|
82
82
|
| `webhook` | `list` `view` `create` `delete` |
|
|
@@ -179,6 +179,23 @@ Event keys differ between backends:
|
|
|
179
179
|
from a file. Trailing newlines from stdin / file are trimmed. Webhook
|
|
180
180
|
secrets are write-only — neither backend returns them on read.
|
|
181
181
|
|
|
182
|
+
### Repo extras
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
# Rename (both backends — slug derives from new name on Cloud).
|
|
186
|
+
# --confirm is required on non-TTY because the slug change breaks existing
|
|
187
|
+
# clones' origin URL — run `git remote set-url origin ...` after.
|
|
188
|
+
bitbottle repo rename MYPROJ/my-service my-service-v2 --confirm
|
|
189
|
+
|
|
190
|
+
# Fork into another workspace (Bitbucket Cloud only)
|
|
191
|
+
bitbottle repo fork myworkspace/my-service --into otherws
|
|
192
|
+
bitbottle repo fork myworkspace/my-service --into otherws --name my-fork
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
`repo fork` returns a typed unsupported-capability error on Bitbucket Server /
|
|
196
|
+
Data Center, which has no fork primitive in its REST API. Both `rename` and
|
|
197
|
+
`fork` accept `--json fields` and `--jq expr` for structured output.
|
|
198
|
+
|
|
182
199
|
### Raw API
|
|
183
200
|
|
|
184
201
|
```bash
|