Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bb-cli
command
bb-cli is a command-line interface for Bitbucket Cloud pull requests.
|
bb-cli is a command-line interface for Bitbucket Cloud pull requests. |
|
bb-mcp
command
bb-mcp is a Model Context Protocol (MCP) server for Bitbucket Cloud.
|
bb-mcp is a Model Context Protocol (MCP) server for Bitbucket Cloud. |
|
bb-tf
command
bb-tf is a Terraform provider for Bitbucket Cloud.
|
bb-tf is a Terraform provider for Bitbucket Cloud. |
|
internal
|
|
|
client
Package client provides an authenticated HTTP client for the Bitbucket API.
|
Package client provides an authenticated HTTP client for the Bitbucket API. |
|
config
Package config loads optional MCP server configuration from mcp_config.yaml.
|
Package config loads optional MCP server configuration from mcp_config.yaml. |
|
generated
Package generated provides primitives to interact with the openapi HTTP API.
|
Package generated provides primitives to interact with the openapi HTTP API. |
|
gitcontext
Package gitcontext infers Bitbucket workspace and repository slug from the current directory's git remote URL.
|
Package gitcontext infers Bitbucket workspace and repository slug from the current directory's git remote URL. |
|
handlers
Package handlers implements the Bitbucket API dispatch layer for each CLI command.
|
Package handlers implements the Bitbucket API dispatch layer for each CLI command. |
|
mcptools
Package mcptools provides the MCP server tool handler for Bitbucket API operations.
|
Package mcptools provides the MCP server tool handler for Bitbucket API operations. |
|
output
Package output provides rendering helpers for CLI output.
|
Package output provides rendering helpers for CLI output. |
|
prompts
Package prompts provides MCP prompt handlers (playbooks) for the Bitbucket MCP server.
|
Package prompts provides MCP prompt handlers (playbooks) for the Bitbucket MCP server. |
|
tfprovider
Package tfprovider implements the Terraform provider for Bitbucket Cloud.
|
Package tfprovider implements the Terraform provider for Bitbucket Cloud. |
|
scripts
|
|
|
gen_commands
command
gen_commands reads a schema YAML file and generates Cobra command boilerplate for each operation, writing the output to the specified Go file.
|
gen_commands reads a schema YAML file and generates Cobra command boilerplate for each operation, writing the output to the specified Go file. |
|
gen_e2e_coverage
command
gen_e2e_coverage generates docs/e2e-coverage.md, a list of Bitbucket API endpoints exposed by the Terraform provider and whether they are exercised by a real-API acceptance test (TestAccRealAPI_*) in internal/tfprovider/acceptance_test.go.
|
gen_e2e_coverage generates docs/e2e-coverage.md, a list of Bitbucket API endpoints exposed by the Terraform provider and whether they are exercised by a real-API acceptance test (TestAccRealAPI_*) in internal/tfprovider/acceptance_test.go. |
|
gen_mcpdocs
command
gen_mcpdocs reads all schema YAML files and the embedded default config to generate docs/tools-reference.md — a complete auto-generated reference page for every MCP tool group and its operations.
|
gen_mcpdocs reads all schema YAML files and the embedded default config to generate docs/tools-reference.md — a complete auto-generated reference page for every MCP tool group and its operations. |
|
gen_mcptools
command
gen_mcptools reads a schema YAML file and generates MCP tool registration code for each command group, writing the output to the specified Go file.
|
gen_mcptools reads a schema YAML file and generates MCP tool registration code for each command group, writing the output to the specified Go file. |
|
gen_terraform
command
gen_terraform reads a schema YAML file and generates Terraform provider resource registration code, writing the output to the specified Go file.
|
gen_terraform reads a schema YAML file and generates Terraform provider resource registration code, writing the output to the specified Go file. |
|
gen_tfdocs
command
gen_tfdocs reads the CRUD config and registered resource groups from internal/tfprovider to produce:
|
gen_tfdocs reads the CRUD config and registered resource groups from internal/tfprovider to produce: |
|
internal/spec
Package spec provides shared OpenAPI schema types and parsing utilities used by the code generation pipeline (CLI commands, MCP tools, etc.).
|
Package spec provides shared OpenAPI schema types and parsing utilities used by the code generation pipeline (CLI commands, MCP tools, etc.). |
Click to show internal directories.
Click to hide internal directories.