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

Method IsPromptEnabled

pkg/factory/factory.go:89–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87}
88
89func (f *factory) IsPromptEnabled() bool {
90 return f.asker.IsInteractive()
91}
92
93func (f *factory) Ask(p survey.Prompt, response interface{}, opts ...survey.AskOpt) error {
94 return f.asker.Ask(p, response, opts...)

Callers

nothing calls this directly

Calls 1

IsInteractiveMethod · 0.65

Tested by

no test coverage detected