dialog

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OptionHelp    = "help"
	OptionNew     = "new"
	OptionDryRun  = "dry-run"
	OptionConnect = "connect"
	OptionDump    = "dump"
	OptionRemove  = "remove"
	OptionQuit    = "quit"
	OptionNone    = ""
)
View Source
const (
	PromptHeader = ">> "
)

Variables

View Source
var Ctx = &Context{}

Functions

func Input

func Input(suggester prompt.Completer) string

func NewDumpDialogue

func NewDumpDialogue()

func NewEnvDialogue

func NewEnvDialogue()

func NewHelpDialogue added in v0.2.3

func NewHelpDialogue()

func NewInitDialogue

func NewInitDialogue()

func NewMultiNetworkOptsDialogue added in v0.2.8

func NewMultiNetworkOptsDialogue() *presets.MultiNetworkOpts

func NewRemoveDialogue

func NewRemoveDialogue()

Types

type Context

type Context struct {
	DryRun  bool
	Connect bool
}

Context wizard global context settings

Jump to

Keyboard shortcuts

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