cmd

package
v0.0.0-...-af74616 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func GetRepo

func GetRepo(r string) (ghRepo.Repository, error)

func NewCmdList

func NewCmdList() *cobra.Command

func PrettyPrint

func PrettyPrint(workflowRuns []WorkflowRun)

Types

type ApiResponse

type ApiResponse struct {
	TotalCount   int           `json:"total_count"`
	WorkflowRuns []WorkflowRun `json:"workflow_runs"`
}

type ListOptions

type ListOptions struct {
	Repo  string
	Limit int
}

type WorkflowRun

type WorkflowRun struct {
	Id     int    `json:"id"`
	Name   string `json:"name"`
	Status string `json:"status"`
}

Jump to

Keyboard shortcuts

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