blocked

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package blocked provides the "blocked" shortcut command — lists issues that have unresolved blocked_by relationships.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(f *cmdutil.Factory) *cli.Command

NewCmd constructs the "blocked" command, which lists issues that have unresolved blocked_by relationships.

func Run

func Run(ctx context.Context, input RunInput) error

Run executes the blocked workflow: queries for blocked issues (excluding closed ones), ordered by priority, and writes the result to the output writer.

Types

type RunInput

type RunInput struct {
	Service       driving.Service
	OrderBy       driving.OrderBy
	Direction     driving.SortDirection
	JSON          bool
	Limit         int
	Columns       []cmdutil.Column
	WriteTo       io.Writer
	ColorScheme   *iostreams.ColorScheme
	TerminalWidth int
}

RunInput holds the parameters for the blocked command's core logic, decoupled from CLI flag parsing so it can be tested directly.

Jump to

Keyboard shortcuts

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