@CliCommand(value = PREFIX + "get", help = "Copy files to the local file system")
	public void get(
			@CliOption(key = { FROM }, mandatory = true, help = SOURCE_FILE_NAMES) final String source,
			@CliOption(key = { "to" }, mandatory = true, help = DESTINATION_PATH_NAME) final String dest,
			@CliOption(key = { "ignoreCrc" }, mandatory = false, specifiedDefaultValue = TRUE, unspecifiedDefaultValue = FALSE, help = "whether ignore CRC") final boolean ignoreCrc,
			@CliOption(key = { "crc" }, mandatory = false, specifiedDefaultValue = TRUE, unspecifiedDefaultValue = FALSE, help = "whether copy CRC") final boolean crc) {
		List<String> argv = new ArrayList<String>();
		argv.add("-get");
		if (ignoreCrc) {
			argv.add("-ignoreCrc");
		}
		if (crc) {
			argv.add("-crc");
		}
		argv.add(source);
		argv.add(dest);
		run(argv.toArray(new String[0]));
	}
HDFS shell commands

@author Jarred Li
@author Glenn Renfro
spring-xd-shell/src/main/java/org/springframework/xd/shell/hadoop/FsShellCommands.java