relations

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package relations implements the issue relations command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRelations

func NewCmdRelations(f *cmdutil.Factory, runF func(*RelationsOptions) error) *cobra.Command

NewCmdRelations creates the issue relations command.

Types

type RelationIssue

type RelationIssue struct {
	Number  string `json:"number"`
	Title   string `json:"title"`
	State   string `json:"state"`
	HTMLURL string `json:"html_url"`
}

type RelationPR

type RelationPR struct {
	Number  int    `json:"number"`
	Title   string `json:"title"`
	State   string `json:"state"`
	HTMLURL string `json:"html_url"`
}

type RelationRow

type RelationRow struct {
	Issue RelationIssue `json:"issue"`
	PR    RelationPR    `json:"pr"`
}

type RelationsOptions

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

	Repository string
	State      string
	Limit      int
	Mode       int
	JSON       bool
}

Source Files

  • relations.go

Jump to

Keyboard shortcuts

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