MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / PromptAgain

Method PromptAgain

pkg/surveyext/editor.go:51–54  ·  view source on GitHub ↗
(config *survey.PromptConfig, invalid interface{}, err error)

Source from the content-addressed store, hash-verified

49{{- end}}`
50
51func (e *OctoEditor) PromptAgain(config *survey.PromptConfig, invalid interface{}, err error) (interface{}, error) {
52 initialValue := invalid.(string)
53 return e.prompt(initialValue, config)
54}
55
56func (e *OctoEditor) Prompt(config *survey.PromptConfig) (interface{}, error) {
57 initialValue := ""

Callers

nothing calls this directly

Calls 1

promptMethod · 0.95

Tested by

no test coverage detected