(asker question.Asker)
| 140 | } |
| 141 | |
| 142 | func 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. |
no test coverage detected