cmdprovider

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildProviderCommands

func BuildProviderCommands(kind string, deps cmdutil.Deps) []*cobra.Command

BuildProviderCommands returns the "issues" and "issue" cobra commands that use the given provider kind for resolution.

func PrintStatusesTable

func PrintStatusesTable(out io.Writer, statuses []tracker.Status) error

PrintStatusesTable prints statuses as a table.

func RunAddComment

func RunAddComment(ctx context.Context, p tracker.Provider, out io.Writer, key, body string) error

RunAddComment adds a comment to an issue.

func RunCreateIssue

func RunCreateIssue(ctx context.Context, p tracker.Provider, out io.Writer, project, typ, title, description, parent string) error

RunCreateIssue creates a new issue. When parent is non-empty, the issue is created as a subtask of the given parent key (ClickUp).

func RunDeleteIssue

func RunDeleteIssue(ctx context.Context, p tracker.Provider, out io.Writer, key string, yes bool) error

RunDeleteIssue deletes an issue. When yes is false, the user is prompted for confirmation before proceeding.

func RunEditIssue

func RunEditIssue(ctx context.Context, p tracker.Provider, out io.Writer, key string, opts tracker.EditOptions) error

RunEditIssue edits an issue's title and/or description.

func RunGetIssue

func RunGetIssue(ctx context.Context, p tracker.Provider, out io.Writer, key string) error

RunGetIssue retrieves and prints a single issue.

func RunListComments

func RunListComments(ctx context.Context, p tracker.Provider, out io.Writer, key string) error

RunListComments lists comments on an issue.

func RunListIssues

func RunListIssues(ctx context.Context, p tracker.Provider, out io.Writer, project string, all, table bool) error

RunListIssues lists issues for a project.

func RunListStatuses

func RunListStatuses(ctx context.Context, p tracker.Provider, out io.Writer, key string, table bool) error

RunListStatuses lists available statuses for an issue.

func RunSetStatus

func RunSetStatus(ctx context.Context, p tracker.Provider, out io.Writer, key, status string) error

RunSetStatus sets an issue's status.

func RunStartIssue

func RunStartIssue(ctx context.Context, p tracker.Provider, out io.Writer, key string) error

RunStartIssue transitions an issue and assigns to the current user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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