commands

package
v1.3.83 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package commands defines all CLI commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(version string)

Execute runs the root command.

func NewRootCmd

func NewRootCmd(version string) *cobra.Command

NewRootCmd creates the root cobra command with all subcommands.

Types

type StallWarning

type StallWarning struct {
	WorkflowID string `json:"workflowId"`
	Repo       string `json:"repo"`
	Type       string `json:"type"` // "stalled_activity", "zero_progress"
	Summary    string `json:"summary"`
	Detail     string `json:"detail,omitempty"`
	Duration   string `json:"duration"`
}

StallWarning represents a stalled activity or zero-progress workflow.

type WorkflowError

type WorkflowError struct {
	WorkflowID string `json:"workflowId"`
	Repo       string `json:"repo"`
	EventType  string `json:"eventType"`
	Summary    string `json:"summary"`
	Detail     string `json:"detail,omitempty"`
	Timestamp  string `json:"timestamp"`
	ActivityID string `json:"activityId,omitempty"`
}

WorkflowError represents a single error from a workflow's history.

Jump to

Keyboard shortcuts

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