browse

package
v3.64.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowseCmd

type BrowseCmd struct {
	// Build is an optional build reference. It may be a build number, an
	// "org/pipeline/number" slug, or a full buildkite.com build URL. When
	// omitted, the resolved pipeline page is opened instead.
	Build       string `arg:"" optional:"" help:"Build number, org/pipeline/number slug, or build URL to open. Omit to open the pipeline page."`
	Pipeline    string `help:"The pipeline to use. This can be a {pipeline slug} or in the format {org slug}/{pipeline slug}." short:"p"`
	Branch      string `help:"Filter the pipeline builds list to this branch. Defaults to the current git branch." short:"b"`
	AllBranches bool   `help:"Open the pipeline builds list without a branch filter." name:"all-branches"`
	Settings    bool   `help:"Open the pipeline's settings page." short:"s"`
	NoBrowser   bool   `help:"Print destination URL instead of opening the browser." short:"n" name:"no-browser"`
}

BrowseCmd opens Buildkite resources in a web browser, resolving the pipeline from the current project (or flags) the same way other commands do.

When the pipeline page is opened (no build number, no --settings), the builds list is filtered to the current git branch by default. Use --branch to filter to a specific branch, or --all-branches to show the unfiltered list.

func (*BrowseCmd) Help

func (c *BrowseCmd) Help() string

func (*BrowseCmd) Run

func (c *BrowseCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

Jump to

Keyboard shortcuts

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