show

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 12 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 "show" command, which displays the full detail view of a single domain.

func Run

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

Run executes the show workflow: fetches the issue and writes the full detail view to the output writer.

Types

type RunInput

type RunInput struct {
	Service       driving.Service
	IssueID       string
	TerminalWidth int // Terminal width for word wrapping; 0 means no wrapping.
	JSON          bool
	WriteTo       io.Writer
	ColorScheme   *iostreams.ColorScheme
}

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