cmd

package
v0.17.15 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproveCommand added in v0.17.15

type ApproveCommand interface {
	Run(ctx context.Context, args []string) error
}

ApproveCommand executes the approve subcommand.

func NewApproveCommand added in v0.17.15

func NewApproveCommand(
	inboxDir string,
	queueDir string,
	promptManager prompt.Manager,
) ApproveCommand

NewApproveCommand creates a new ApproveCommand.

type ListCommand added in v0.17.15

type ListCommand interface {
	Run(ctx context.Context, args []string) error
}

ListCommand executes the list subcommand.

func NewListCommand added in v0.17.15

func NewListCommand(
	inboxDir string,
	queueDir string,
	completedDir string,
) ListCommand

NewListCommand creates a new ListCommand.

type PromptEntry added in v0.17.15

type PromptEntry struct {
	Location string `json:"location"`
	Status   string `json:"status"`
	File     string `json:"file"`
}

PromptEntry represents a single prompt entry in the list output.

type QueueCommand added in v0.10.0

type QueueCommand interface {
	Run(ctx context.Context, args []string) error
}

QueueCommand executes the queue subcommand.

func NewQueueCommand added in v0.10.0

func NewQueueCommand(
	inboxDir string,
	queueDir string,
	promptManager prompt.Manager,
) QueueCommand

NewQueueCommand creates a new QueueCommand.

type RequeueCommand added in v0.17.15

type RequeueCommand interface {
	Run(ctx context.Context, args []string) error
}

RequeueCommand executes the requeue subcommand.

func NewRequeueCommand added in v0.17.15

func NewRequeueCommand(queueDir string) RequeueCommand

NewRequeueCommand creates a new RequeueCommand.

type StatusCommand

type StatusCommand interface {
	Run(ctx context.Context, args []string) error
}

StatusCommand executes the status subcommand.

func NewStatusCommand

func NewStatusCommand(checker status.Checker, formatter status.Formatter) StatusCommand

NewStatusCommand creates a new StatusCommand.

Jump to

Keyboard shortcuts

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