Documentation
¶
Overview ¶
Package issuecmd provides the "issue" parent command, which groups issue management operations under a single namespace. Core workflow commands (list, close) live at root; this package holds issue-specific operations that are not part of the core create-claim-work-close loop.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Defer ¶
func Defer(ctx context.Context, input DeferInput) error
Defer shelves a claimed issue for later. The label mutation and state transition are delegated to a single atomic service call so the CLI adapter does not orchestrate ordering invariants.
func NewCmd ¶
NewCmd constructs the "issue" parent command with all issue management subcommands. Core workflow commands (list, close) are only available at root; search and other issue-specific operations live here.
Types ¶
type DeferInput ¶
type DeferInput struct {
Service driving.Service
IssueID string
ClaimID string
Until string
JSON bool
WriteTo io.Writer
}
DeferInput holds the parameters for the defer operation, decoupled from CLI flag parsing so it can be tested directly.