Documentation
¶
Overview ¶
Package ready provides the "ready" shortcut command — a quick way to list issues that are available for work.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmd ¶
NewCmd constructs the "ready" command, which lists issues that are ready for work. The optional runFn parameter replaces the default Run for testing; when injected, the service is not constructed and the runFn receives the fully-resolved RunInput so flag parsing can be verified in isolation.
Types ¶
type RunInput ¶
type RunInput struct {
Service driving.Service
// Filter narrows the ready set. The Ready field is always forced to true
// by Run regardless of what the caller sets, so callers may omit it.
Filter driving.IssueFilterInput
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 ready command's core logic, decoupled from CLI flag parsing so it can be tested directly.
Click to show internal directories.
Click to hide internal directories.