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

Function NewInputPrompt

test/testutil/fakesurvey.go:24–32  ·  view source on GitHub ↗
(prompt string, help string, response string)

Source from the content-addressed store, hash-verified

22type CheckRemaining func()
23
24func NewInputPrompt(prompt string, help string, response string) *PA {
25 return &PA{
26 Prompt: &survey.Input{
27 Message: prompt,
28 Help: help,
29 },
30 Answer: response,
31 }
32}
33
34func NewInputPromptWithDefault(prompt string, help string, def string, response string) *PA {
35 return &PA{

Calls

no outgoing calls