comment

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 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 "comment" command with list and search subcommands for managing issue comments. Comment creation is handled by "json comment".

func RunList

func RunList(ctx context.Context, input RunListInput) error

RunList executes the comment list workflow: lists comments for the specified issue and writes the result to WriteTo.

Types

type RunListInput

type RunListInput struct {
	Service driving.Service
	IssueID string
	Limit   int
	JSON    bool
	WriteTo io.Writer
}

RunListInput holds the parameters for the comment list operation, 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