cmd

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

func SetVersion

func SetVersion(v string)

Types

type RunOptions added in v0.0.11

type RunOptions struct {
	DryRun         bool
	Watch          bool
	NoTUI          bool
	Author         string
	TrustedAuthors string
	MergeAuto      bool
	Org            string
	ReposFile      string
	Grouping       string
	Cols           []pr.TableColumn
	OnComplete     func(*pr.PRStatus)
}

RunOptions holds the configuration shared between the run and sweep commands.

type SweepPREntry added in v0.0.23

type SweepPREntry struct {
	Owner  string `json:"owner"`
	Repo   string `json:"repo"`
	Number int    `json:"number"`
	Title  string `json:"title"`
	URL    string `json:"url"`
	Status string `json:"status"`
	Detail string `json:"detail,omitempty"`
}

SweepPREntry represents a single PR in the sweep results.

type SweepResult added in v0.0.23

type SweepResult struct {
	Summary        SweepSummary   `json:"summary"`
	Merged         []SweepPREntry `json:"merged,omitempty"`
	ActionRequired []SweepPREntry `json:"action_required,omitempty"`
	Skipped        []SweepPREntry `json:"skipped,omitempty"`
}

SweepResult is the structured JSON output returned by the sweep MCP tool.

type SweepSummary added in v0.0.23

type SweepSummary struct {
	Total   int `json:"total"`
	Merged  int `json:"merged"`
	Failed  int `json:"failed"`
	Skipped int `json:"skipped"`
}

SweepSummary contains aggregate counts from the sweep.

Jump to

Keyboard shortcuts

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