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

Function PromptMissing

pkg/cmd/workerpool/static/create/create.go:103–115  ·  view source on GitHub ↗
(opts *CreateOptions)

Source from the content-addressed store, hash-verified

101}
102
103func PromptMissing(opts *CreateOptions) error {
104 err := question.AskName(opts.Ask, "", "Static Worker Pool", &opts.Name.Value)
105 if err != nil {
106 return err
107 }
108
109 err = question.AskDescription(opts.Ask, "", "Static Worker Pool", &opts.Description.Value)
110 if err != nil {
111 return err
112 }
113
114 return nil
115}

Callers 3

createRunFunction · 0.70

Calls 2

AskNameFunction · 0.92
AskDescriptionFunction · 0.92

Tested by 2