use of bio.terra.cli.command.shared.options.Format.FormatOptions in project terra-cli by DataBiosphere.
the class Format method execute.
@Override
protected void execute() {
Config config = Context.getConfig();
FormatOptions previousFormatOption = config.getFormat();
config.setFormat(format);
OUT.println("Output format is " + config.getFormat() + " (" + (config.getFormat() == previousFormatOption ? "UNCHANGED" : "CHANGED") + ").");
}
Aggregations