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

Function NewAskProvider

pkg/question/ask.go:24–28  ·  view source on GitHub ↗
(asker Asker)

Source from the content-addressed store, hash-verified

22}
23
24func NewAskProvider(asker Asker) AskProvider {
25 return &askWrapper{
26 asker: asker,
27 }
28}
29
30func (a *askWrapper) IsInteractive() bool {
31 return a.asker != nil

Callers 11

apiclient_test.goFile · 0.92
TestReleaseDeleteFunction · 0.92
TestReleaseListFunction · 0.92
TestRunbookListFunction · 0.92
TestGitRunbookListFunction · 0.92
TestLogin_ApiKeyFunction · 0.92
TestLogin_OpenIdConnectFunction · 0.92
testLoginFunction · 0.92
mainFunction · 0.92
runFunction · 0.92

Calls

no outgoing calls

Tested by 7

TestReleaseDeleteFunction · 0.74
TestReleaseListFunction · 0.74
TestRunbookListFunction · 0.74
TestGitRunbookListFunction · 0.74
TestLogin_ApiKeyFunction · 0.74
TestLogin_OpenIdConnectFunction · 0.74