(configuration config.Configuration)
| 505 | } |
| 506 | |
| 507 | func moo(configuration config.Configuration) { |
| 508 | voiceMessage := "moo" |
| 509 | err := executeCommandsInBackgroundProcess(getVoiceCommand(voiceMessage, configuration.VoiceCommand)) |
| 510 | |
| 511 | if err != nil { |
| 512 | say.Warning(fmt.Sprintf("can't run voice command on your system (%s)", runtime.GOOS)) |
| 513 | say.Warning(err.Error()) |
| 514 | return |
| 515 | } |
| 516 | |
| 517 | say.Info(voiceMessage) |
| 518 | } |
| 519 | |
| 520 | func reset(configuration config.Configuration) { |
| 521 | if configuration.ResetDeleteRemoteWipBranch { |
no test coverage detected