@CliCommand(value = DISPLAY_GAUGE, help = "Display the value of a gauge")
	public String display(
			@CliOption(key = { "", "name" }, help = "the name of the gauge to display", mandatory = true, optionContext = "existing-gauge disable-string-converter") String name,
			@CliOption(key = "pattern", help = "the pattern used to format the value (see DecimalFormat)", mandatory = false, unspecifiedDefaultValue = NumberFormatConverter.DEFAULT) NumberFormat pattern) {
		GaugeResource gauge = gaugeOperations().retrieve(name);
		return pattern.format(gauge.getValue());
	}
Commands for interacting with Gauge analytics.

@author Ilayaperumal Gopinathan
spring-xd-shell/src/main/java/org/springframework/xd/shell/command/GaugeCommands.java