Directories
¶
| Path | Synopsis |
|---|---|
|
Package api re-exports the HTTP middleware stack from api/internal/httpx so callers outside the api/ subtree (notably pkg/cmd/factory) can wrap their http.Client transports without needing access to the internal package.
|
Package api re-exports the HTTP middleware stack from api/internal/httpx so callers outside the api/ subtree (notably pkg/cmd/factory) can wrap their http.Client transports without needing access to the internal package. |
|
cloud
Package cloud does not implement AdminClient.
|
Package cloud does not implement AdminClient. |
|
cloud/gen
Package gen provides primitives to interact with the openapi HTTP API.
|
Package gen provides primitives to interact with the openapi HTTP API. |
|
internal/httpx
Package httpx is the shared HTTP transport used by the Bitbucket Server/DC and Cloud API adapters.
|
Package httpx is the shared HTTP transport used by the Bitbucket Server/DC and Cloud API adapters. |
|
internal/paging
Package paging bounds typed pagination above httpx.Transport.GetAllJSON.
|
Package paging bounds typed pagination above httpx.Transport.GetAllJSON. |
|
server
Package server is the Bitbucket Data Center (a.k.a.
|
Package server is the Bitbucket Data Center (a.k.a. |
|
server/gen
Package gen provides primitives to interact with the openapi HTTP API.
|
Package gen provides primitives to interact with the openapi HTTP API. |
|
cmd
|
|
|
bitbottle
command
|
|
|
Package git wraps internal/run.Runner to provide git-specific operations.
|
Package git wraps internal/run.Runner to provide git-specific operations. |
|
internal
|
|
|
aliases
Package aliases stores user-defined command shortcuts in ~/.config/bitbottle/aliases.yml.
|
Package aliases stores user-defined command shortcuts in ~/.config/bitbottle/aliases.yml. |
|
app
Package app contains the real entry-point logic for the bitbottle binary.
|
Package app contains the real entry-point logic for the bitbottle binary. |
|
envvars
Package envvars is the single source of truth for environment variables that influence bitbottle's behavior.
|
Package envvars is the single source of truth for environment variables that influence bitbottle's behavior. |
|
extensions
Package extensions manages bitbottle CLI extensions: install, list.
|
Package extensions manages bitbottle CLI extensions: install, list. |
|
profiles
Package profiles stores named credential profiles in ~/.config/bitbottle/profiles.yml.
|
Package profiles stores named credential profiles in ~/.config/bitbottle/profiles.yml. |
|
tlsprobe
Package tlsprobe runs a handshake-only TLS dial against a host so callers (currently `bitbottle auth login`) can decide whether the host's certificate chains to a CA the OS already trusts.
|
Package tlsprobe runs a handshake-only TLS dial against a host so callers (currently `bitbottle auth login`) can decide whether the host's certificate chains to a CA the OS already trusts. |
|
userconfig
Package userconfig stores bitbottle user preferences in ~/.config/bitbottle/config.yml.
|
Package userconfig stores bitbottle user preferences in ~/.config/bitbottle/config.yml. |
|
pkg
|
|
|
cmd/admin
Package admin is the root of the `admin` subcommand tree.
|
Package admin is the root of the `admin` subcommand tree. |
|
cmd/admin/banner
Package banner implements `admin banner get`, `admin banner set`, and `admin banner clear`.
|
Package banner implements `admin banner get`, `admin banner set`, and `admin banner clear`. |
|
cmd/admin/banner/clear
Package clear implements `admin banner clear`.
|
Package clear implements `admin banner clear`. |
|
cmd/admin/banner/get
Package get implements `admin banner get`.
|
Package get implements `admin banner get`. |
|
cmd/admin/banner/set
Package set implements `admin banner set`.
|
Package set implements `admin banner set`. |
|
cmd/admin/cluster
Package cluster implements `admin cluster`.
|
Package cluster implements `admin cluster`. |
|
cmd/admin/license
Package license implements `admin license`.
|
Package license implements `admin license`. |
|
cmd/admin/logging
Package logging is the `admin logging` subcommand tree.
|
Package logging is the `admin logging` subcommand tree. |
|
cmd/admin/logging/get
Package get implements `admin logging get`.
|
Package get implements `admin logging get`. |
|
cmd/admin/logging/set
Package set implements `admin logging set`.
|
Package set implements `admin logging set`. |
|
cmd/admin/mail
Package mail implements `admin mail get` and `admin mail set`.
|
Package mail implements `admin mail get` and `admin mail set`. |
|
cmd/admin/mail/get
Package get implements `admin mail get`.
|
Package get implements `admin mail get`. |
|
cmd/admin/mail/set
Package set implements `admin mail set`.
|
Package set implements `admin mail set`. |
|
cmd/admin/ratelimit
Package ratelimit is the `admin rate-limit` subcommand tree.
|
Package ratelimit is the `admin rate-limit` subcommand tree. |
|
cmd/admin/ratelimit/get
Package get implements `admin rate-limit get`.
|
Package get implements `admin rate-limit get`. |
|
cmd/admin/ratelimit/set
Package set implements `admin rate-limit set`.
|
Package set implements `admin rate-limit set`. |
|
cmd/admin/secrets
Package secrets is the `admin secrets` subcommand tree.
|
Package secrets is the `admin secrets` subcommand tree. |
|
cmd/admin/secrets/rotate
Package rotate implements `admin secrets rotate`.
|
Package rotate implements `admin secrets rotate`. |
|
cmd/admin/user
Package user implements `admin user` subcommands.
|
Package user implements `admin user` subcommands. |
|
cmd/alias
Package alias implements `bitbottle alias` — user-defined command shortcuts.
|
Package alias implements `bitbottle alias` — user-defined command shortcuts. |
|
cmd/api
Package api implements `bitbottle api` — a generic Bitbucket REST passthrough modeled on `gh api`.
|
Package api implements `bitbottle api` — a generic Bitbucket REST passthrough modeled on `gh api`. |
|
cmd/auth/pat
Package pat implements the `auth pat` subgroup for managing Bitbucket Server/DC personal access tokens.
|
Package pat implements the `auth pat` subgroup for managing Bitbucket Server/DC personal access tokens. |
|
cmd/branch/compare
Package compare implements `bitbottle branch compare BASE..HEAD`.
|
Package compare implements `bitbottle branch compare BASE..HEAD`. |
|
cmd/branch/protect
Package protect is the root of the `branch protect` subcommand tree.
|
Package protect is the root of the `branch protect` subcommand tree. |
|
cmd/branchmodel
Package branchmodel implements the `bitbottle branch-model` command group.
|
Package branchmodel implements the `bitbottle branch-model` command group. |
|
cmd/branchrule
Package branchrule implements the `bitbottle branch-rule` command group.
|
Package branchrule implements the `bitbottle branch-rule` command group. |
|
cmd/codeinsights
Package codeinsights is the root of the `code-insights` command group.
|
Package codeinsights is the root of the `code-insights` command group. |
|
cmd/codeinsights/annotation
Package annotation is the `code-insights annotation` subcommand group.
|
Package annotation is the `code-insights annotation` subcommand group. |
|
cmd/codeinsights/mergecheck
Package mergecheck is the `code-insights merge-check` subcommand group.
|
Package mergecheck is the `code-insights merge-check` subcommand group. |
|
cmd/codeinsights/report
Package report is the `code-insights report` subcommand group.
|
Package report is the `code-insights report` subcommand group. |
|
cmd/config
Package config implements `bitbottle config` — get/set/list user preferences stored in ~/.config/bitbottle/config.yml.
|
Package config implements `bitbottle config` — get/set/list user preferences stored in ~/.config/bitbottle/config.yml. |
|
cmd/context
Package context implements the `bitbottle context` command — a single one-call orientation primitive that returns the current host, project, slug, branch, default branch, ahead/behind counts vs the default branch, authenticated user, and backend type.
|
Package context implements the `bitbottle context` command — a single one-call orientation primitive that returns the current host, project, slug, branch, default branch, ahead/behind counts vs the default branch, authenticated user, and backend type. |
|
cmd/deploykey
Package deploykey implements the `bitbottle deploy-key` command group.
|
Package deploykey implements the `bitbottle deploy-key` command group. |
|
cmd/deployment/shared
Package shared holds format helpers for deployment and environment subcommands.
|
Package shared holds format helpers for deployment and environment subcommands. |
|
cmd/diff
Package diff implements the top-level `bb diff` command.
|
Package diff implements the top-level `bb diff` command. |
|
cmd/extension
Package extension implements the `bitbottle extension` command group.
|
Package extension implements the `bitbottle extension` command group. |
|
cmd/factory/factorytest
Package factorytest builds a *factory.Factory for tests with sane, minimal defaults.
|
Package factorytest builds a *factory.Factory for tests with sane, minimal defaults. |
|
cmd/group
Package group implements the `group` command group for managing Bitbucket Server/DC admin groups and their members.
|
Package group implements the `group` command group for managing Bitbucket Server/DC admin groups and their members. |
|
cmd/group/member
Package member implements the `group member` subcommand group.
|
Package member implements the `group member` subcommand group. |
|
cmd/host
Package host implements the `bitbottle host` command group.
|
Package host implements the `bitbottle host` command group. |
|
cmd/internal/cmdtest
Package cmdtest holds shared test fixtures for pkg/cmd subcommand tests.
|
Package cmdtest holds shared test fixtures for pkg/cmd subcommand tests. |
|
cmd/internal/enumflag
Package enumflag provides a pflag.Value implementation that restricts a string flag to a fixed set of allowed values, rejecting off-enum input (including the empty string) at flag-parse time rather than silently accepting it downstream.
|
Package enumflag provides a pflag.Value implementation that restricts a string flag to a fixed set of allowed values, rejecting off-enum input (including the empty string) at flag-parse time rather than silently accepting it downstream. |
|
cmd/internal/reactions
Package reactions provides a shared concurrent helper for fetching emoji reactions on comments.
|
Package reactions provides a shared concurrent helper for fetching emoji reactions on comments. |
|
cmd/internal/repoarg
Package repoarg holds the single repository-reference parser shared by every CLI command.
|
Package repoarg holds the single repository-reference parser shared by every CLI command. |
|
cmd/issue
Package issue implements the `bitbottle issue` command group.
|
Package issue implements the `bitbottle issue` command group. |
|
cmd/issue/activity
Package activity implements the `bitbottle issue activity` subcommand.
|
Package activity implements the `bitbottle issue activity` subcommand. |
|
cmd/mcp/argval
Package argval holds typed argument extractors for MCP tool handlers.
|
Package argval holds typed argument extractors for MCP tool handlers. |
|
cmd/milestone
Package milestone implements the `bitbottle milestone` command group.
|
Package milestone implements the `bitbottle milestone` command group. |
|
cmd/mirror
Package mirror implements the `bitbottle mirror` command group.
|
Package mirror implements the `bitbottle mirror` command group. |
|
cmd/perms
Package perms is the root of the `perms` subcommand tree.
|
Package perms is the root of the `perms` subcommand tree. |
|
cmd/perms/project
Package project is the `perms project` subcommand tree.
|
Package project is the `perms project` subcommand tree. |
|
cmd/perms/repo
Package repo is the `perms repo` subcommand tree.
|
Package repo is the `perms repo` subcommand tree. |
|
cmd/perms/shared
Package shared provides shared helpers for the perms command tree.
|
Package shared provides shared helpers for the perms command tree. |
|
cmd/pipeline/artifact
Package artifact implements the `pipeline artifact` subcommand group.
|
Package artifact implements the `pipeline artifact` subcommand group. |
|
cmd/pipeline/config
Package config implements `bitbottle pipeline config get/enable/disable`.
|
Package config implements `bitbottle pipeline config get/enable/disable`. |
|
cmd/pipeline/oidc
Package oidc implements `bitbottle pipeline oidc` subcommand group.
|
Package oidc implements `bitbottle pipeline oidc` subcommand group. |
|
cmd/pipeline/rerun
Package rerun implements `bitbottle pipeline rerun UUID [PROJECT/REPO]`.
|
Package rerun implements `bitbottle pipeline rerun UUID [PROJECT/REPO]`. |
|
cmd/pipeline/shared
Package shared holds helpers used across pipeline subcommands.
|
Package shared holds helpers used across pipeline subcommands. |
|
cmd/pipeline/ssh
Package ssh implements `bitbottle pipeline ssh` subcommand group.
|
Package ssh implements `bitbottle pipeline ssh` subcommand group. |
|
cmd/pipeline/ssh/keypair
Package keypair implements `bitbottle pipeline ssh key-pair` subcommands.
|
Package keypair implements `bitbottle pipeline ssh key-pair` subcommands. |
|
cmd/pipeline/ssh/knownhosts
Package knownhosts implements `bitbottle pipeline ssh known-hosts` subcommands.
|
Package knownhosts implements `bitbottle pipeline ssh known-hosts` subcommands. |
|
cmd/pipeline/stop
Package stop implements `bitbottle pipeline stop UUID [PROJECT/REPO]`.
|
Package stop implements `bitbottle pipeline stop UUID [PROJECT/REPO]`. |
|
cmd/pipeline/testreport
Package testreport implements `bitbottle pipeline test-report` and `bitbottle pipeline test-case` subcommand groups.
|
Package testreport implements `bitbottle pipeline test-report` and `bitbottle pipeline test-case` subcommand groups. |
|
cmd/pipeline/watch
Package watch implements `bb pipeline watch UUID`.
|
Package watch implements `bb pipeline watch UUID`. |
|
cmd/pr/mergepreview
Package mergepreview implements the `pr merge-preview` command, which performs a dry-run merge check and reports conflicts without merging.
|
Package mergepreview implements the `pr merge-preview` command, which performs a dry-run merge check and reports conflicts without merging. |
|
cmd/pr/reopen
Package reopen implements the `pr reopen` command.
|
Package reopen implements the `pr reopen` command. |
|
cmd/pr/shared
Package shared holds helpers shared by pr sub-command subpackages.
|
Package shared holds helpers shared by pr sub-command subpackages. |
|
cmd/profile
Package profile implements the `profile` command group for managing named credential profiles (kubectl-context-like).
|
Package profile implements the `profile` command group for managing named credential profiles (kubectl-context-like). |
|
cmd/profile/create
Package create implements `profile create NAME`.
|
Package create implements `profile create NAME`. |
|
cmd/profile/delete
Package delete implements `profile delete NAME`.
|
Package delete implements `profile delete NAME`. |
|
cmd/profile/list
Package list implements `profile list`.
|
Package list implements `profile list`. |
|
cmd/profile/use
Package use implements `profile use NAME`.
|
Package use implements `profile use NAME`. |
|
cmd/project
Package project implements the `bitbottle project` command group.
|
Package project implements the `bitbottle project` command group. |
|
cmd/project/list
Package list implements `bitbottle project list WORKSPACE`.
|
Package list implements `bitbottle project list WORKSPACE`. |
|
cmd/repo/download
Package download implements the `bitbottle repo download` subcommand group.
|
Package download implements the `bitbottle repo download` subcommand group. |
|
cmd/repo/file/put
Package put implements `repo file put`.
|
Package put implements `repo file put`. |
|
cmd/repo/hook
Package hook implements the `repo hook` command group.
|
Package hook implements the `repo hook` command group. |
|
cmd/repo/hook/settings
Package settings implements the `repo hook settings` command group.
|
Package settings implements the `repo hook settings` command group. |
|
cmd/repo/pr-settings
Package prsettings implements the `repo pr-settings` command group.
|
Package prsettings implements the `repo pr-settings` command group. |
|
cmd/repo/sync
Package sync implements the "repo sync" command which synchronises a Cloud fork branch with its upstream repository.
|
Package sync implements the "repo sync" command which synchronises a Cloud fork branch with its upstream repository. |
|
cmd/runner
Package runner implements the `bitbottle runner` command group.
|
Package runner implements the `bitbottle runner` command group. |
|
cmd/runner/create
Package create implements the `runner create` command.
|
Package create implements the `runner create` command. |
|
cmd/runner/delete
Package delete implements the `runner delete` command.
|
Package delete implements the `runner delete` command. |
|
cmd/runner/list
Package list implements the `runner list` command.
|
Package list implements the `runner list` command. |
|
cmd/search
Package search implements the `bitbottle search` command group.
|
Package search implements the `bitbottle search` command group. |
|
cmd/skill
Package skill implements the `bitbottle skill` command tree, which installs, refreshes, and removes the bundled bitbottle agent skill (the SKILL.md + references that teach AI agents how to drive bitbottle correctly).
|
Package skill implements the `bitbottle skill` command tree, which installs, refreshes, and removes the bundled bitbottle agent skill (the SKILL.md + references that teach AI agents how to drive bitbottle correctly). |
|
cmd/snippet
Package snippet implements the `bitbottle snippet` command group.
|
Package snippet implements the `bitbottle snippet` command group. |
|
cmd/snippet/comment
Package comment implements the `bitbottle snippet comment` subcommand group.
|
Package comment implements the `bitbottle snippet comment` subcommand group. |
|
cmd/snippet/create
Package create implements `bitbottle snippet create`.
|
Package create implements `bitbottle snippet create`. |
|
cmd/snippet/delete
Package delete implements `bitbottle snippet delete`.
|
Package delete implements `bitbottle snippet delete`. |
|
cmd/snippet/list
Package list implements `bitbottle snippet list`.
|
Package list implements `bitbottle snippet list`. |
|
cmd/snippet/view
Package view implements `bitbottle snippet view`.
|
Package view implements `bitbottle snippet view`. |
|
cmd/sshkey
Package sshkey implements the `bitbottle ssh-key` command group.
|
Package sshkey implements the `bitbottle ssh-key` command group. |
|
cmd/user
Package user implements the `bitbottle user` command group.
|
Package user implements the `bitbottle user` command group. |
|
cmd/user/view
Package view implements `bitbottle user view`.
|
Package view implements `bitbottle user view`. |
|
cmd/variable
Package variable wires the top-level `variable` command group.
|
Package variable wires the top-level `variable` command group. |
|
cmd/variable/delete
Package delete implements the `variable delete` subcommand.
|
Package delete implements the `variable delete` subcommand. |
|
cmd/variable/list
Package list implements the `variable list` subcommand.
|
Package list implements the `variable list` subcommand. |
|
cmd/variable/set
Package set implements the `variable set` subcommand.
|
Package set implements the `variable set` subcommand. |
|
cmd/variable/shared
Package shared holds format helpers for variable subcommands.
|
Package shared holds format helpers for variable subcommands. |
|
cmd/variable/view
Package view implements the `variable view` subcommand.
|
Package view implements the `variable view` subcommand. |
|
cmd/version
Package version implements the `bitbottle version` command group.
|
Package version implements the `bitbottle version` command group. |
|
cmd/webhook
Package webhook is the root of the `webhook` subcommand tree.
|
Package webhook is the root of the `webhook` subcommand tree. |
|
cmd/webhook/shared
Package shared holds helpers used across webhook subcommands.
|
Package shared holds helpers used across webhook subcommands. |
|
cmd/workspace
Package workspace implements the `bitbottle workspace` command group.
|
Package workspace implements the `bitbottle workspace` command group. |
|
cmd/workspace/audit
Package audit implements the `bitbottle workspace audit` command.
|
Package audit implements the `bitbottle workspace audit` command. |
|
cmd/workspace/hook
Package hook implements the `bitbottle workspace hook` command group.
|
Package hook implements the `bitbottle workspace hook` command group. |
|
cmd/workspace/ipallowlist
Package ipallowlist implements the `bitbottle workspace ipallowlist` command group.
|
Package ipallowlist implements the `bitbottle workspace ipallowlist` command group. |
|
cmd/workspace/list
Package list implements `bitbottle workspace list`.
|
Package list implements `bitbottle workspace list`. |
|
cmd/workspace/member
Package member implements the `bitbottle workspace member` command group.
|
Package member implements the `bitbottle workspace member` command group. |
|
cmd/workspace/perms
Package perms implements the `bitbottle workspace perms` command group.
|
Package perms implements the `bitbottle workspace perms` command group. |
|
cmd/workspace/pipelinevar
Package pipelinevar implements the `bitbottle workspace pipeline-variable` command group.
|
Package pipelinevar implements the `bitbottle workspace pipeline-variable` command group. |
|
cmd/workspace/project
Package project implements the `bitbottle workspace project` command group.
|
Package project implements the `bitbottle workspace project` command group. |
|
cmd/workspace/project/defaultreviewer
Package defaultreviewer implements the `bitbottle workspace project default-reviewer` command group.
|
Package defaultreviewer implements the `bitbottle workspace project default-reviewer` command group. |
|
cmd/workspace/project/perms
Package perms implements the `bitbottle workspace project perms` command group.
|
Package perms implements the `bitbottle workspace project perms` command group. |
|
cmd/workspace/search
Package search implements `bitbottle workspace search`.
|
Package search implements `bitbottle workspace search`. |
|
cmdregistry
Package cmdregistry provides a self-registration mechanism for Cobra subcommands.
|
Package cmdregistry provides a self-registration mechanism for Cobra subcommands. |
|
cmdutil
Package cmdutil provides CLI command utilities including JSON output helpers.
|
Package cmdutil provides CLI command utilities including JSON output helpers. |
|
errfmt
Package errfmt is the central renderer for user-facing CLI errors.
|
Package errfmt is the central renderer for user-facing CLI errors. |
|
test
|
|
Click to show internal directories.
Click to hide internal directories.