bbk-cli 1.1.0 → 1.1.1
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/README.md +11 -5
- package/dist/commands/helpers.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.1](https://github.com/hesedcasa/bbk-cli/compare/bbk-cli-v1.1.0...bbk-cli-v1.1.1) (2026-01-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 📄 Documentation
|
|
7
|
+
|
|
8
|
+
* update configuration examples in README ([0b1dc6d](https://github.com/hesedcasa/bbk-cli/commit/0b1dc6de6457556b381324560601de52ac77a881))
|
|
9
|
+
|
|
3
10
|
## [1.1.0](https://github.com/hesedcasa/bbk-cli/compare/bbk-cli-v1.0.0...bbk-cli-v1.1.0) (2026-01-27)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -9,9 +9,10 @@ A powerful command-line interface for Bitbucket interaction with support for rep
|
|
|
9
9
|
- 💻 **Interactive REPL** for Bitbucket exploration and management
|
|
10
10
|
- 🚀 **Headless mode** for one-off command execution and automation
|
|
11
11
|
- 🔐 **Multi-profile support** for managing different Bitbucket accounts
|
|
12
|
+
- 🏢 **Default workspace support** - omit workspace parameter when configured
|
|
12
13
|
- 📊 **Multiple output formats**: JSON or TOON
|
|
13
14
|
- 📦 **Repository management**: list and view repository details
|
|
14
|
-
- 🔀 **Pull request operations**: list, view, and create pull requests
|
|
15
|
+
- 🔀 **Pull request operations**: list, view, and create pull requests with auto-reviewers
|
|
15
16
|
- 🐛 **Issue tracking**: list, view, and create issues
|
|
16
17
|
- 🌿 **Branch operations**: list branches in repositories
|
|
17
18
|
- 📝 **Commit history**: view commits in repositories
|
|
@@ -50,6 +51,7 @@ profiles:
|
|
|
50
51
|
cloud:
|
|
51
52
|
email: your-email@example.com
|
|
52
53
|
apiToken: YOUR_API_TOKEN_HERE
|
|
54
|
+
defaultWorkspace: myworkspace # Optional: default workspace for commands
|
|
53
55
|
|
|
54
56
|
defaultProfile: cloud
|
|
55
57
|
defaultFormat: json
|
|
@@ -65,6 +67,7 @@ This file stores your Bitbucket API connection profiles.
|
|
|
65
67
|
- **profiles**: Named Bitbucket connection profiles
|
|
66
68
|
- `email`: Your Bitbucket email
|
|
67
69
|
- `apiToken`: Your Bitbucket API token
|
|
70
|
+
- `defaultWorkspace`: (Optional) Default workspace to use if not specified in commands
|
|
68
71
|
|
|
69
72
|
- **defaultProfile**: Profile name to use when none specified
|
|
70
73
|
- **defaultFormat**: Default output format (`json` or `toon`)
|
|
@@ -77,10 +80,12 @@ profiles:
|
|
|
77
80
|
personal:
|
|
78
81
|
email: john@email.com
|
|
79
82
|
apiToken: <api_token>
|
|
83
|
+
defaultWorkspace: personal-workspace
|
|
80
84
|
|
|
81
85
|
work:
|
|
82
86
|
email: john@company.com
|
|
83
87
|
apiToken: <api_token>
|
|
88
|
+
defaultWorkspace: company-workspace
|
|
84
89
|
|
|
85
90
|
defaultProfile: personal
|
|
86
91
|
defaultFormat: json
|
|
@@ -101,8 +106,11 @@ Once started, you'll see the `bbk>` prompt:
|
|
|
101
106
|
|
|
102
107
|
```
|
|
103
108
|
bbk> list-repositories {"workspace":"myworkspace"}
|
|
109
|
+
bbk> list-repositories {} # Uses profile's defaultWorkspace
|
|
104
110
|
bbk> get-repository {"workspace":"myworkspace","repoSlug":"my-repo"}
|
|
111
|
+
bbk> get-repository {"repoSlug":"my-repo"} # Uses profile's defaultWorkspace
|
|
105
112
|
bbk> list-pullrequests {"workspace":"myworkspace","repoSlug":"my-repo","state":"OPEN"}
|
|
113
|
+
bbk> list-pullrequests {"repoSlug":"my-repo","state":"OPEN"} # Uses defaultWorkspace
|
|
106
114
|
```
|
|
107
115
|
|
|
108
116
|
### Headless Mode
|
|
@@ -173,6 +181,8 @@ npx bbk-cli create-issue '{"workspace":"myworkspace","repoSlug":"my-repo","title
|
|
|
173
181
|
bbk> create-pullrequest {"workspace":"myworkspace","repoSlug":"my-repo","title":"Feature PR","sourceBranch":"feature/new","destinationBranch":"main","description":"PR description"}
|
|
174
182
|
```
|
|
175
183
|
|
|
184
|
+
**Note**: This command automatically adds the repository's default reviewers (excluding the PR author) to the pull request.
|
|
185
|
+
|
|
176
186
|
### Branch Commands
|
|
177
187
|
|
|
178
188
|
- **list-branches** - List branches in a repository
|
|
@@ -375,7 +385,3 @@ npx bbk-cli test-connection
|
|
|
375
385
|
## License
|
|
376
386
|
|
|
377
387
|
Apache-2.0
|
|
378
|
-
|
|
379
|
-
## Acknowledgments
|
|
380
|
-
|
|
381
|
-
Built with [bitbucket](https://www.npmjs.com/package/bitbucket) by [MunifTanjim](https://github.com/MunifTanjim/node-bitbucket) - A Bitbucket API client for Node.js and Browser
|
package/dist/commands/helpers.js
CHANGED
|
@@ -33,7 +33,7 @@ export const printCommandDetail = (command) => {
|
|
|
33
33
|
export const getCurrentVersion = () => {
|
|
34
34
|
// If moved update release-please config
|
|
35
35
|
// x-release-please-start-version
|
|
36
|
-
const VERSION = '1.1.
|
|
36
|
+
const VERSION = '1.1.1';
|
|
37
37
|
// x-release-please-end
|
|
38
38
|
return VERSION;
|
|
39
39
|
};
|
package/package.json
CHANGED