commands

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ExecutePipeline added in v0.1.5

func ExecutePipeline(ctx context.Context, issue *pipeline.Issue, cfg *config.Config, deps *pipeline.Dependencies, stepNames []string, silent bool) (*pipeline.Result, error)

ExecutePipeline executes the pipeline for a single issue. This function can be called with silent=true to suppress status reporting, useful for batch processing where status updates are not desired.

Types

type BatchJob added in v0.1.5

type BatchJob struct {
	Index int
	Issue pipeline.Issue
}

BatchJob represents a job to process in the worker pool

type BatchResult added in v0.1.5

type BatchResult struct {
	Index  int
	Issue  pipeline.Issue
	Result *pipeline.Result
	Error  error
}

BatchResult represents the result of processing a single issue

type Checkpoint added in v0.0.3

type Checkpoint struct {
	LastProcessedIssue int       `json:"last_processed_issue"`
	Timestamp          time.Time `json:"timestamp"`
}

type JSONOutput added in v0.1.5

type JSONOutput struct {
	ProcessedAt time.Time     `json:"processed_at"`
	TotalIssues int           `json:"total_issues"`
	Successful  int           `json:"successful"`
	Failed      int           `json:"failed"`
	Results     []ResultEntry `json:"results"`
}

JSONOutput represents the JSON output structure

type ResultEntry added in v0.1.5

type ResultEntry struct {
	Issue  pipeline.Issue   `json:"issue"`
	Result *pipeline.Result `json:"result,omitempty"`
	Error  string           `json:"error,omitempty"`
}

ResultEntry represents a single result entry in JSON output

Jump to

Keyboard shortcuts

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