Help us shape the future of Go! Take the 2026 Go Developer Survey

comment

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package comment implements the issue comment command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdComment

func NewCmdComment(f *cmdutil.Factory, runF func(*CommentOptions) error) *cobra.Command

NewCmdComment creates the comment command

Types

type CommentOptions

type CommentOptions struct {
	IO         *iostreams.IOStreams
	HttpClient func() (*http.Client, error)
	BaseRepo   func() (string, error)

	// Arguments
	Repository string
	Number     int

	// Flags
	Body     string
	BodyFile string
}

Source Files

  • comment.go

Directories

Path Synopsis
Package edit implements the issue comment edit command.
Package edit implements the issue comment edit command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL