historyview

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

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

NewCmd constructs the "history" command, which displays the mutation history of an issue.

func Run

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

Run executes the history workflow: queries the issue's mutation history and writes the result to the output writer as either JSON or human-readable text.

Types

type RunInput

type RunInput struct {
	Service     driving.Service
	IssueID     string
	Limit       int
	JSON        bool
	WriteTo     io.Writer
	ColorScheme *iostreams.ColorScheme
}

RunInput holds the parameters for the history 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