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

Documentation

Overview

Package search implements `bitbottle workspace search`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSearch

func NewCmdSearch(f *factory.Factory, runF func(*Options) error) *cobra.Command

NewCmdSearch constructs the cobra command. The runF parameter follows the gh-style override pattern: tests inject their own runner; production passes nil and gets the default searchRun.

Types

type Options

type Options struct {
	Output   format.OutputConfig
	Hostname string
	Query    string
	Role     string
	Limit    int
}

Options carries parsed flags for `workspace search`.

Jump to

Keyboard shortcuts

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