@Command(scope = "whirr", name = "list-cluster", description = "List the nodes in a cluster.")
public class ListCluster extends WhirrCommandSupport {
@Override
protected Object doExecute() throws Exception {
ListClusterCommand command = new ListClusterCommand(clusterControllerFactory);
ClusterSpec clusterSpec = getClusterSpec();
if (clusterSpec != null) {
command.run(System.in, System.out, System.err, clusterSpec);
}
return null;
}