solrevdev.bbx 1.4.3

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global solrevdev.bbx --version 1.4.3
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local solrevdev.bbx --version 1.4.3
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=solrevdev.bbx&version=1.4.3
                    
nuke :add-package solrevdev.bbx --version 1.4.3
                    

solrevdev.bbx

gh for Bitbucket Cloud. A .NET global tool that puts the Bitbucket Cloud API v2 on your command line, with JSON on stdout so scripts and LLMs can read it.

Install

dotnet tool install -g solrevdev.bbx

Authenticate

Create an Atlassian API token at https://id.atlassian.com/manage-profile/security/api-tokens, then:

bbx auth login
bbx auth set-workspace myworkspace

Credentials are stored in ~/.config/bbx/config.json with mode 0600.

Use

bbx repo list -w myworkspace --limit 10
bbx pr list -r myrepo --state OPEN
bbx pr view 42 -r myrepo
bbx pr diff 42 -r myrepo
bbx pipeline logs '{pipeline-uuid}' '{step-uuid}' -r myrepo
bbx pipeline trigger --yaml run.yml -r myrepo    # on-demand: this YAML, this run only
bbx src cat --ref main README.md -r myrepo

Command groups: auth, repo, pr, branch, commit, src, download, pipeline, snippet, workspace, user.

Run bbx <group> --help for the full surface.

Output contract

  • JSON on stdout, prompts and errors on stderr, so pipes stay clean.
  • Exit 0 on success, 1 on any failure.
  • --json-compact (or BBX_JSON_COMPACT=1) for single-line JSON.
  • BBX_NO_INTERACTIVE=1 to guarantee no prompting, for CI.
bbx pr list -r myrepo --state OPEN | jq -r '.pull_requests[].title'

A few commands print raw text because that is the useful form: pr diff, pr patch, commit diff, commit patch, src cat.

Scopes

Token scopes are chosen when you create the token. A call that needs a scope you did not grant returns a 403 naming the gap:

Error: Your credentials lack one or more required privilege scopes.
(HTTP 403 Forbidden) Missing token scopes: admin:repository:bitbucket.
Re-issue your token with those scopes at
https://id.atlassian.com/manage-profile/security/api-tokens

Notes

  • Atlassian withdrew the cross-workspace discovery endpoints (CHANGE-2770), so bbx workspace list and bbx user permissions ... return HTTP 410. Name the workspace, or set a default with bbx auth set-workspace.
  • Bitbucket Issues shut down on 2026-08-20; the issue group was removed in 1.4.0 because every call it could make now fails.

Full documentation, recipes and troubleshooting: https://github.com/solrevdev/solrevdev.bbx

MIT licensed.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.6.0 110 11/16/2026
1.5.0 105 11/12/2026
1.4.4 168 9/18/2026
1.4.3 136 9/12/2026
1.4.2 135 9/8/2026
1.4.1 122 8/27/2026
1.4.0 123 8/27/2026
1.3.4 148 8/8/2026
1.3.3 129 8/7/2026
1.3.2 127 8/7/2026
1.3.1 126 8/7/2026
1.3.0 123 8/7/2026
1.2.0 125 8/7/2026
1.1.1 124 8/7/2026
1.1.0 129 8/6/2026
1.0.2 136 8/4/2026
1.0.1 128 8/3/2026
1.0.0 128 8/2/2026