func statusMsg()

in main/status.go [32:48]


func statusMsg(c cmd, t status.Type, msg string) string {
	s := c.name
	switch t {
	case status.StatusSuccess:
		s += " succeeded"
	case status.StatusTransitioning:
		s += " in progress"
	case status.StatusError:
		s += " failed"
	}

	if msg != "" {
		// append the original
		s += ": " + msg
	}
	return s
}