run

package
v2.0.1-0...-d4b4061 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRun

func NewCmdRun(f *cmdutil.Factory, runF func(*RunOptions) error) *cobra.Command

Types

type InputAnswer

type InputAnswer struct {
	// contains filtered or unexported fields
}

func (*InputAnswer) WriteAnswer

func (ia *InputAnswer) WriteAnswer(name string, value interface{}) error

type RunOptions

type RunOptions struct {
	HttpClient func() (*http.Client, error)
	IO         *iostreams.IOStreams
	BaseRepo   func() (ghrepo.Interface, error)

	Selector  string
	Ref       string
	JSONInput string
	JSON      bool

	MagicFields []string
	RawFields   []string

	Prompt bool
}

type WorkflowInput

type WorkflowInput struct {
	Required    bool
	Default     string
	Description string
}

Jump to

Keyboard shortcuts

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