AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
The gh cli for bitbucket data center. Enjoy your rich cli interactions with git in corporate environments like you are used to with GitHub.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
bb is a production-focused CLI for automating Bitbucket Data Center workflows.
It combines scriptable machine output, safe dry-run planning, and behavior validated
against a real Bitbucket server.
Data Center only — Bitbucket Cloud is not supported. Bitbucket Cloud
(bitbucket.org) is a different API, and no bb command will work against it.
It is designed as the gh-style CLI experience for Bitbucket Data Center, including
repository cloning and browser navigation ergonomics tailored to Bitbucket-hosted projects.README 전문 보기 ↗bb)bb is a production-focused CLI for automating Bitbucket Data Center workflows.
It combines scriptable machine output, safe dry-run planning, and behavior validated
against a real Bitbucket server.
Data Center only — Bitbucket Cloud is not supported. Bitbucket Cloud
(bitbucket.org) is a different API, and no bb command will work against it.
It is designed as the gh-style CLI experience for Bitbucket Data Center, including
repository cloning and browser navigation ergonomics tailored to Bitbucket-hosted projects.
It ships an MCP server for AI agents too. Ask one about a pull request, and in a client that renders MCP Apps, such as Claude Desktop, VS Code or Goose, it answers with the pull request itself, right in the chat:
Views in your agent shows the overview, lists of pull requests, diffs and comment threads too.
bb--json payload arrives in the same envelope, for CI/CD and internal tooling; --yaml prints the same document as YAML.--repo usage.bb repo clone, bb browse).Install on Windows via WinGet:
winget install vriesdemichael.bb
Install on Windows via Scoop:
scoop bucket add vriesdemichael https://github.com/vriesdemichael/scoop
scoop install vriesdemichael/bb
Install on macOS or Linux via Homebrew:
brew install vriesdemichael/tap/bb
Install on Debian/Ubuntu or RHEL/Fedora from the release .deb/.rpm:
# Debian/Ubuntu
curl -LO "https://github.com/vriesdemichael/bitbucket-data-center-cli/releases/latest/download/bb_linux_amd64.deb"
sudo dpkg -i bb_linux_amd64.deb
# RHEL/Fedora
curl -LO "https://github.com/vriesdemichael/bitbucket-data-center-cli/releases/latest/download/bb_linux_amd64.rpm"
sudo rpm -i bb_linux_amd64.rpm
Install from Releases (Linux amd64 example):
curl -LO "https://github.com/vriesdemichael/bitbucket-data-center-cli/releases/latest/download/bb_linux_amd64.tar.gz"
curl -LO "https://github.com/vriesdemichael/bitbucket-data-center-cli/releases/latest/download/sha256sums.txt"
sha256sum -c sha256sums.txt --ignore-missing
tar -xzf bb_linux_amd64.tar.gz
install -m 0755 bb /usr/local/bin/bb
Every release also publishes the same files with the version in the name
(bb_1.2.3_linux_amd64.tar.gz). Use those to pin a release; sha256sums.txt
covers both spellings, so the checksum step above works either way.
Authenticate — store a token for your Bitbucket instance:
printf '%s' "$BITBUCKET_TOKEN" | bb auth login https://bitbucket.example.com --token-stdin
bb auth status
Target Bitbucket: https://bitbucket.example.com (auth=token, source=stored)
Credential storage: keyring
--token-stdin keeps the token out of the process list and your shell history.
The token is stored in your OS keyring; where none is available the login fails
unless you pass --allow-insecure-storage, which keeps it in the config file in
plaintext.
Clone and browse — no need to look up URLs:
bb repo clone PLATFORM/api
bb browse --repo PLATFORM/api
Cloning into 'api'...
Cloned PLATFORM/api into api
# browse opens https://bitbucket.example.com/projects/PLATFORM/repos/api in your browser
Search — find repositories across all projects:
bb search repos --limit 20
PLATFORM/api API Service
PLATFORM/backend Backend Service
PLATFORM/web Frontend Web App
Machine mode — stable JSON envelope for scripting and CI/CD:
bb --json auth status
{
"data": {
"ok": true,
"bitbucketUrl": "https://bitbucket.example.com",
"bitbucketVersionTarget": "",
"authMode": "token",
"authSource": "stored",
"credentialStorage": "keyring",
"checks": [
{ "name": "authentication", "ok": true, "advisory": false },
{ "name": "git credential helper", "ok": true, "advisory": true }
]
},
"meta": {
"bbVersion": "..."
}
}
ok is the one field a script needs: false when any non-advisory check failed. checks entries
carry a detail and a remedy when they fail, omitted here for brevity. authSource is
stored, env, or env/default when neither a stored nor an environment credential supplied
one; bitbucketVersionTarget is empty unless an operator set BITBUCKET_VERSION_TARGET.
When something does not work, bb doctor reads every configuration file on its own and reports
each problem with its line, needing no host and no network.
Ready for daily workflows? See the Developer Cheatsheet & Cookbook for scannable reference tables and top 10 daily developer recipes (PR reviews, local checkout, auto-merge, and IDE setup).
llms.txt): https://vriesdemichael.github.io/bitbucket-data-center-cli/latest/llms.txtgh: docs/site/gh-parity.mddocs/reference/atlassian/bitbucket-openapi.json). This fixes the endpoint and payload
shapes the generated client is built from — it is the provenance of the spec, not a statement
about which server versions work. Behavior is established by live tests, not the spec.bb, with the envelope described in ADR-064bb <command> --describe says what a command's output looks like, from the binary, as an outline or, under --json, as JSON Schema, and the configuration file and failure envelope schemas are published in docs and versioned with releasesThis README is an adopter-focused landing page.
Taskfile.ymldocs/site/adr/docs/site/, tools/cli-docs-export/, tools/adr-index/bb is licensed under the Apache License 2.0.
Atlassian Bitbucket Data Center is proprietary software. Use of local Docker images and server instances must comply with Atlassian licensing terms.