@proggarapsody/bitbottle 1.52.0 → 1.54.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 +37 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,6 +90,7 @@ Tokens are intentionally stripped from `hosts.yml` on every save. If you have an
|
|
|
90
90
|
| `tag` | `list` `create` `delete` |
|
|
91
91
|
| `webhook` | `list` `view` `create` `delete` |
|
|
92
92
|
| `deploy-key` | `list` `add` `delete` |
|
|
93
|
+
| `branch-rule` | `list` `add` `delete` _(Cloud only)_ |
|
|
93
94
|
| `ssh-key` | `list` `add` `delete` _(Cloud only)_ |
|
|
94
95
|
| `commit` | `log` `view` `status` `comment {list\|add\|edit\|delete}` |
|
|
95
96
|
| `pipeline` | `list` `view` `run` _(Cloud only)_ |
|
|
@@ -218,6 +219,24 @@ Secured variables redact their value on read (TTY column shows
|
|
|
218
219
|
`<secured>`, JSON `value` shows `"<secured>"`). Use `--body=-` to read
|
|
219
220
|
the value from stdin so the secret never touches shell history.
|
|
220
221
|
|
|
222
|
+
### Pipeline Schedules _(Cloud only)_
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
# List all pipeline schedules for a repository
|
|
226
|
+
bitbottle pipeline schedule list MYWORKSPACE/my-service
|
|
227
|
+
|
|
228
|
+
# Create a schedule (runs daily at midnight on main)
|
|
229
|
+
bitbottle pipeline schedule create MYWORKSPACE/my-service \
|
|
230
|
+
--cron "0 0 * * *" --branch main
|
|
231
|
+
|
|
232
|
+
# Create a disabled schedule
|
|
233
|
+
bitbottle pipeline schedule create MYWORKSPACE/my-service \
|
|
234
|
+
--cron "0 12 * * 1" --branch develop --enabled=false
|
|
235
|
+
|
|
236
|
+
# Delete a schedule by UUID
|
|
237
|
+
bitbottle pipeline schedule delete MYWORKSPACE/my-service {uuid}
|
|
238
|
+
```
|
|
239
|
+
|
|
221
240
|
### Deployments & Environments _(Cloud only)_
|
|
222
241
|
|
|
223
242
|
```bash
|
|
@@ -296,6 +315,24 @@ bitbottle deploy-key delete MYPROJ/my-service 42
|
|
|
296
315
|
All three subcommands work on both Bitbucket Cloud and Server/DC. `list` and
|
|
297
316
|
`add` support `--json` / `--jq` / `--yaml` for structured output.
|
|
298
317
|
|
|
318
|
+
### Branch restriction rules (Cloud only)
|
|
319
|
+
|
|
320
|
+
```bash
|
|
321
|
+
# List branch restriction rules
|
|
322
|
+
bitbottle branch-rule list myworkspace/my-service
|
|
323
|
+
|
|
324
|
+
# Add a rule requiring 2 approvals before merging to main
|
|
325
|
+
bitbottle branch-rule add myworkspace/my-service --kind require_approvals_to_merge --pattern main --value 2
|
|
326
|
+
|
|
327
|
+
# Add a push restriction (no direct pushes to main)
|
|
328
|
+
bitbottle branch-rule add myworkspace/my-service --kind push --pattern main
|
|
329
|
+
|
|
330
|
+
# Delete a rule by ID
|
|
331
|
+
bitbottle branch-rule delete myworkspace/my-service 7
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
Cloud only. `list` and `add` support `--json` / `--jq` / `--yaml` for structured output.
|
|
335
|
+
|
|
299
336
|
### SSH keys (Cloud only)
|
|
300
337
|
|
|
301
338
|
```bash
|