comment

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package comment provides the "jira comment" command group for comment management.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAdd

func NewCmdAdd(f *factory.Factory) *cobra.Command

NewCmdAdd creates the "comment add" command.

func NewCmdComment

func NewCmdComment(f *factory.Factory) *cobra.Command

NewCmdComment creates the "comment" command group.

func NewCmdDelete

func NewCmdDelete(f *factory.Factory) *cobra.Command

NewCmdDelete creates the "comment delete" command.

func NewCmdEdit

func NewCmdEdit(f *factory.Factory) *cobra.Command

NewCmdEdit creates the "comment edit" command.

func NewCmdList

func NewCmdList(f *factory.Factory) *cobra.Command

NewCmdList creates the "comment list" command.

Types

type CommentAddOptions

type CommentAddOptions struct {
	Factory *factory.Factory

	IssueKey string // positional arg (required)
	Body     string // --body
	BodyFile string // --body-file
}

CommentAddOptions holds all resolved inputs for the comment add command.

type CommentDeleteOptions

type CommentDeleteOptions struct {
	Factory *factory.Factory

	IssueKey  string // positional arg 1 (required)
	CommentID string // positional arg 2 (required)
	Yes       bool   // --yes/-y
}

CommentDeleteOptions holds all resolved inputs for the comment delete command.

type CommentEditOptions

type CommentEditOptions struct {
	Factory *factory.Factory

	IssueKey  string // positional arg 1 (required)
	CommentID string // positional arg 2 (required)
	Body      string // --body
	BodyFile  string // --body-file
}

CommentEditOptions holds all resolved inputs for the comment edit command.

type CommentListOptions

type CommentListOptions struct {
	Factory *factory.Factory

	IssueKey string // positional arg (required)
	Limit    int    // --limit
	Offset   int    // --offset
	NoPager  bool   // --no-pager
}

CommentListOptions holds all resolved inputs for the comment list command.

Jump to

Keyboard shortcuts

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