search

package
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 Imports: 7 Imported by: 0

Documentation

Overview

Package search implements the `bitbottle search` command group. Code search is a Bitbucket Cloud feature gated by the CodeSearcher optional interface; invocations against Server/DC surface a typed ErrUnsupportedOnHost error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSearch

func NewCmdSearch(f *factory.Factory) *cobra.Command

func NewCmdSearchCode

func NewCmdSearchCode(f *factory.Factory) *cobra.Command

NewCmdSearchCode returns the `bitbottle search code QUERY` command.

Resolution order for the workspace:

  1. --workspace flag (explicit win).
  2. BaseRepo's Project (origin remote / pinned default / -R override).

The query string is passed to Bitbucket Cloud verbatim — operators like `path:`, `lang:`, etc. are interpreted by Bitbucket itself.

Types

This section is empty.

Jump to

Keyboard shortcuts

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