in src/main/scala/com/gu/ssm/Interactive.scala [42:49]
def executeCommand(command: String, instances: List[InstanceId], username: String, instancesNotFound: List[InstanceId]): Unit = {
IO.executeOnInstances(instances, username, command, awsClients.ssmClient).onComplete {
case Right(results) =>
ui.displayResults(instances, username, ResultsWithInstancesNotFound(results, instancesNotFound))
case Left(fa) =>
ui.displayError(fa)
}
}