def cluster_command(self): """ Route cluster command to appropriate method in Cluster class """ action = Cluster(self.host, self.port) if self.action == "health": action.cluster_health(self.target_index)