cmd

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Commit = "none"
	Date   = "unknown"
)

Build information set at compile time via ldflags

View Source
var Version = "v0.6.5"

Functions

func CallGHIssueCreate added in v0.0.5

func CallGHIssueCreate(title, body, repo string, labels []string) (*issue.Issue, error)

CallGHIssueCreate calls gh issue create command and returns the created issue information

func Execute

func Execute() int

Types

type CreateCommand

type CreateCommand struct {
	// contains filtered or unexported fields
}

func (*CreateCommand) Execute

func (c *CreateCommand) Execute(title string) error

func (*CreateCommand) ExecuteBatch

func (c *CreateCommand) ExecuteBatch(filepath string) error

func (*CreateCommand) ExecuteInteractive

func (c *CreateCommand) ExecuteInteractive() error

func (*CreateCommand) ExecuteTemplate

func (c *CreateCommand) ExecuteTemplate(templateName string) error

type IntakeCommand added in v0.6.0

type IntakeCommand struct {
	// contains filtered or unexported fields
}

func (*IntakeCommand) ExecuteWithFilters added in v0.6.0

func (c *IntakeCommand) ExecuteWithFilters(filters *filter.IssueFilters, dryRun bool, applyFields map[string]string) error

type IssueUpdate added in v0.5.0

type IssueUpdate struct {
	Issue          filter.GitHubIssue
	ItemID         string
	StatusChoice   *string           // nil means skip
	EstimateChoice *string           // nil means skip
	FieldChoices   map[string]string // field name -> selected value
}

IssueUpdate holds the updates to be applied to an issue

type ListCommand added in v0.6.0

type ListCommand struct {
	// contains filtered or unexported fields
}

type MoveCommand added in v0.3.0

type MoveCommand struct {
	// contains filtered or unexported fields
}

func (*MoveCommand) Execute added in v0.3.0

func (c *MoveCommand) Execute(issueNumber int) error

type SubIssueInfo added in v0.6.0

type SubIssueInfo struct {
	Number int
	State  string
	Title  string
}

SubIssueInfo represents a sub-issue from gh sub-issue list

type TriageCommand added in v0.3.0

type TriageCommand struct {
	// contains filtered or unexported fields
}

func (*TriageCommand) Execute added in v0.3.0

func (c *TriageCommand) Execute(triageConfig config.TriageConfig, listOnly bool) error

type ViewCommand added in v0.0.5

type ViewCommand struct {
	// contains filtered or unexported fields
}

func (*ViewCommand) Execute added in v0.0.5

func (c *ViewCommand) Execute(issueNumber int) error

Jump to

Keyboard shortcuts

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