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

Function AskGuidedFailureMode

pkg/executionscommon/executionscommon.go:142–147  ·  view source on GitHub ↗
(asker question.Asker)

Source from the content-addressed store, hash-verified

140}
141
142func AskGuidedFailureMode(asker question.Asker) (string, error) {
143 modes := []string{
144 "", "true", "false", // maps to a nullable bool in C#
145 }
146 return question.SelectMap(asker, "Guided Failure Mode", modes, LookupGuidedFailureModeString)
147}
148
149// AskVariables returns the map of ALL variables to send to the server, whether they were prompted for, or came from the command line.
150// variablesFromCmd is copied into the result, you don't need to merge them yourselves.

Callers 2

AskQuestionsFunction · 0.92
askCommonAdvancedOptionsFunction · 0.92

Calls 1

SelectMapFunction · 0.92

Tested by

no test coverage detected