input

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Explain        bool
	RunInteractive bool
	Run            bool
}

type Prompter

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

func NewPrompter

func NewPrompter(logger output.Logger, decoration *output.Decoration, project *config.Project) *Prompter

func (*Prompter) GetAction

func (prompter *Prompter) GetAction(taskName string) (action *Action, err error)

func (*Prompter) GetAdditionalEnv added in v0.6.0

func (prompter *Prompter) GetAdditionalEnv(taskNames []string) (err error)

func (*Prompter) GetAdditionalValue added in v0.6.0

func (prompter *Prompter) GetAdditionalValue() (err error)

func (*Prompter) GetAutoTerminate added in v0.5.22

func (prompter *Prompter) GetAutoTerminate(taskNames []string) (autoTerminate bool, err error)

func (*Prompter) GetTaskName

func (prompter *Prompter) GetTaskName() (taskName string, err error)

func (*Prompter) SetProjectValuesByTask

func (prompter *Prompter) SetProjectValuesByTask(taskNames []string) (err error)

Jump to

Keyboard shortcuts

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