package org.jboss.fresh.shell.commands;
import org.jboss.fresh.io.BufferObjectWriter;
import org.jboss.fresh.shell.AbstractExecutable;
import org.jboss.fresh.shell.impl.Version;
/**
* @author Ales Justin
*/
public class VersionExe extends AbstractExecutable
{
/**
* Displays version information.
*/
public void process(String exename, String[] params) throws Exception
{
BufferObjectWriter oout = new BufferObjectWriter(getStdOut());
oout.writeObject(Version.getDescription());
oout.close();
}
}