pkg/

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

Jump to

Keyboard shortcuts

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