cmd/

directory
v1.135.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: MIT

Directories

Path Synopsis
Package admin is the root of the `admin` subcommand tree.
Package admin is the root of the `admin` subcommand tree.
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`.
banner/clear
Package clear implements `admin banner clear`.
Package clear implements `admin banner clear`.
banner/get
Package get implements `admin banner get`.
Package get implements `admin banner get`.
banner/set
Package set implements `admin banner set`.
Package set implements `admin banner set`.
cluster
Package cluster implements `admin cluster`.
Package cluster implements `admin cluster`.
license
Package license implements `admin license`.
Package license implements `admin license`.
logging
Package logging is the `admin logging` subcommand tree.
Package logging is the `admin logging` subcommand tree.
logging/get
Package get implements `admin logging get`.
Package get implements `admin logging get`.
logging/set
Package set implements `admin logging set`.
Package set implements `admin logging set`.
mail
Package mail implements `admin mail get` and `admin mail set`.
Package mail implements `admin mail get` and `admin mail set`.
mail/get
Package get implements `admin mail get`.
Package get implements `admin mail get`.
mail/set
Package set implements `admin mail set`.
Package set implements `admin mail set`.
ratelimit
Package ratelimit is the `admin rate-limit` subcommand tree.
Package ratelimit is the `admin rate-limit` subcommand tree.
ratelimit/get
Package get implements `admin rate-limit get`.
Package get implements `admin rate-limit get`.
ratelimit/set
Package set implements `admin rate-limit set`.
Package set implements `admin rate-limit set`.
secrets
Package secrets is the `admin secrets` subcommand tree.
Package secrets is the `admin secrets` subcommand tree.
secrets/rotate
Package rotate implements `admin secrets rotate`.
Package rotate implements `admin secrets rotate`.
user
Package user implements `admin user` subcommands.
Package user implements `admin user` subcommands.
Package alias implements `bitbottle alias` — user-defined command shortcuts.
Package alias implements `bitbottle alias` — user-defined command shortcuts.
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`.
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.
compare
Package compare implements `bitbottle branch compare BASE..HEAD`.
Package compare implements `bitbottle branch compare BASE..HEAD`.
protect
Package protect is the root of the `branch protect` subcommand tree.
Package protect is the root of the `branch protect` subcommand tree.
Package branchmodel implements the `bitbottle branch-model` command group.
Package branchmodel implements the `bitbottle branch-model` command group.
Package branchrule implements the `bitbottle branch-rule` command group.
Package branchrule implements the `bitbottle branch-rule` command group.
Package codeinsights is the root of the `code-insights` command group.
Package codeinsights is the root of the `code-insights` command group.
annotation
Package annotation is the `code-insights annotation` subcommand group.
Package annotation is the `code-insights annotation` subcommand group.
mergecheck
Package mergecheck is the `code-insights merge-check` subcommand group.
Package mergecheck is the `code-insights merge-check` subcommand group.
report
Package report is the `code-insights report` subcommand group.
Package report is the `code-insights report` subcommand group.
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.
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.
Package deploykey implements the `bitbottle deploy-key` command group.
Package deploykey implements the `bitbottle deploy-key` command group.
shared
Package shared holds format helpers for deployment and environment subcommands.
Package shared holds format helpers for deployment and environment subcommands.
Package diff implements the top-level `bb diff` command.
Package diff implements the top-level `bb diff` command.
Package extension implements the `bitbottle extension` command group.
Package extension implements the `bitbottle extension` command group.
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.
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.
member
Package member implements the `group member` subcommand group.
Package member implements the `group member` subcommand group.
Package host implements the `bitbottle host` command group.
Package host implements the `bitbottle host` command group.
internal
cmdtest
Package cmdtest holds shared test fixtures for pkg/cmd subcommand tests.
Package cmdtest holds shared test fixtures for pkg/cmd subcommand tests.
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.
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.
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.
Package issue implements the `bitbottle issue` command group.
Package issue implements the `bitbottle issue` command group.
activity
Package activity implements the `bitbottle issue activity` subcommand.
Package activity implements the `bitbottle issue activity` subcommand.
mcp
argval
Package argval holds typed argument extractors for MCP tool handlers.
Package argval holds typed argument extractors for MCP tool handlers.
Package milestone implements the `bitbottle milestone` command group.
Package milestone implements the `bitbottle milestone` command group.
Package mirror implements the `bitbottle mirror` command group.
Package mirror implements the `bitbottle mirror` command group.
Package perms is the root of the `perms` subcommand tree.
Package perms is the root of the `perms` subcommand tree.
project
Package project is the `perms project` subcommand tree.
Package project is the `perms project` subcommand tree.
repo
Package repo is the `perms repo` subcommand tree.
Package repo is the `perms repo` subcommand tree.
shared
Package shared provides shared helpers for the perms command tree.
Package shared provides shared helpers for the perms command tree.
artifact
Package artifact implements the `pipeline artifact` subcommand group.
Package artifact implements the `pipeline artifact` subcommand group.
config
Package config implements `bitbottle pipeline config get/enable/disable`.
Package config implements `bitbottle pipeline config get/enable/disable`.
oidc
Package oidc implements `bitbottle pipeline oidc` subcommand group.
Package oidc implements `bitbottle pipeline oidc` subcommand group.
rerun
Package rerun implements `bitbottle pipeline rerun UUID [PROJECT/REPO]`.
Package rerun implements `bitbottle pipeline rerun UUID [PROJECT/REPO]`.
run
shared
Package shared holds helpers used across pipeline subcommands.
Package shared holds helpers used across pipeline subcommands.
ssh
Package ssh implements `bitbottle pipeline ssh` subcommand group.
Package ssh implements `bitbottle pipeline ssh` subcommand group.
ssh/keypair
Package keypair implements `bitbottle pipeline ssh key-pair` subcommands.
Package keypair implements `bitbottle pipeline ssh key-pair` subcommands.
ssh/knownhosts
Package knownhosts implements `bitbottle pipeline ssh known-hosts` subcommands.
Package knownhosts implements `bitbottle pipeline ssh known-hosts` subcommands.
stop
Package stop implements `bitbottle pipeline stop UUID [PROJECT/REPO]`.
Package stop implements `bitbottle pipeline stop UUID [PROJECT/REPO]`.
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.
watch
Package watch implements `bb pipeline watch UUID`.
Package watch implements `bb pipeline watch UUID`.
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.
reopen
Package reopen implements the `pr reopen` command.
Package reopen implements the `pr reopen` command.
shared
Package shared holds helpers shared by pr sub-command subpackages.
Package shared holds helpers shared by pr sub-command subpackages.
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).
create
Package create implements `profile create NAME`.
Package create implements `profile create NAME`.
delete
Package delete implements `profile delete NAME`.
Package delete implements `profile delete NAME`.
list
Package list implements `profile list`.
Package list implements `profile list`.
use
Package use implements `profile use NAME`.
Package use implements `profile use NAME`.
Package project implements the `bitbottle project` command group.
Package project implements the `bitbottle project` command group.
list
Package list implements `bitbottle project list WORKSPACE`.
Package list implements `bitbottle project list WORKSPACE`.
download
Package download implements the `bitbottle repo download` subcommand group.
Package download implements the `bitbottle repo download` subcommand group.
file/put
Package put implements `repo file put`.
Package put implements `repo file put`.
hook
Package hook implements the `repo hook` command group.
Package hook implements the `repo hook` command group.
hook/settings
Package settings implements the `repo hook settings` command group.
Package settings implements the `repo hook settings` command group.
pr-settings
Package prsettings implements the `repo pr-settings` command group.
Package prsettings implements the `repo pr-settings` command group.
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.
Package runner implements the `bitbottle runner` command group.
Package runner implements the `bitbottle runner` command group.
create
Package create implements the `runner create` command.
Package create implements the `runner create` command.
delete
Package delete implements the `runner delete` command.
Package delete implements the `runner delete` command.
list
Package list implements the `runner list` command.
Package list implements the `runner list` command.
Package search implements the `bitbottle search` command group.
Package search implements the `bitbottle search` command group.
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).
Package snippet implements the `bitbottle snippet` command group.
Package snippet implements the `bitbottle snippet` command group.
comment
Package comment implements the `bitbottle snippet comment` subcommand group.
Package comment implements the `bitbottle snippet comment` subcommand group.
create
Package create implements `bitbottle snippet create`.
Package create implements `bitbottle snippet create`.
delete
Package delete implements `bitbottle snippet delete`.
Package delete implements `bitbottle snippet delete`.
list
Package list implements `bitbottle snippet list`.
Package list implements `bitbottle snippet list`.
view
Package view implements `bitbottle snippet view`.
Package view implements `bitbottle snippet view`.
Package sshkey implements the `bitbottle ssh-key` command group.
Package sshkey implements the `bitbottle ssh-key` command group.
Package user implements the `bitbottle user` command group.
Package user implements the `bitbottle user` command group.
view
Package view implements `bitbottle user view`.
Package view implements `bitbottle user view`.
Package variable wires the top-level `variable` command group.
Package variable wires the top-level `variable` command group.
delete
Package delete implements the `variable delete` subcommand.
Package delete implements the `variable delete` subcommand.
list
Package list implements the `variable list` subcommand.
Package list implements the `variable list` subcommand.
set
Package set implements the `variable set` subcommand.
Package set implements the `variable set` subcommand.
shared
Package shared holds format helpers for variable subcommands.
Package shared holds format helpers for variable subcommands.
view
Package view implements the `variable view` subcommand.
Package view implements the `variable view` subcommand.
Package version implements the `bitbottle version` command group.
Package version implements the `bitbottle version` command group.
Package webhook is the root of the `webhook` subcommand tree.
Package webhook is the root of the `webhook` subcommand tree.
shared
Package shared holds helpers used across webhook subcommands.
Package shared holds helpers used across webhook subcommands.
Package workspace implements the `bitbottle workspace` command group.
Package workspace implements the `bitbottle workspace` command group.
audit
Package audit implements the `bitbottle workspace audit` command.
Package audit implements the `bitbottle workspace audit` command.
hook
Package hook implements the `bitbottle workspace hook` command group.
Package hook implements the `bitbottle workspace hook` command group.
ipallowlist
Package ipallowlist implements the `bitbottle workspace ipallowlist` command group.
Package ipallowlist implements the `bitbottle workspace ipallowlist` command group.
list
Package list implements `bitbottle workspace list`.
Package list implements `bitbottle workspace list`.
member
Package member implements the `bitbottle workspace member` command group.
Package member implements the `bitbottle workspace member` command group.
perms
Package perms implements the `bitbottle workspace perms` command group.
Package perms implements the `bitbottle workspace perms` command group.
pipelinevar
Package pipelinevar implements the `bitbottle workspace pipeline-variable` command group.
Package pipelinevar implements the `bitbottle workspace pipeline-variable` command group.
project
Package project implements the `bitbottle workspace project` command group.
Package project implements the `bitbottle workspace project` command group.
project/defaultreviewer
Package defaultreviewer implements the `bitbottle workspace project default-reviewer` command group.
Package defaultreviewer implements the `bitbottle workspace project default-reviewer` command group.
project/perms
Package perms implements the `bitbottle workspace project perms` command group.
Package perms implements the `bitbottle workspace project perms` command group.
search
Package search implements `bitbottle workspace search`.
Package search implements `bitbottle workspace search`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL