import org.fusesource.jansi.Ansi;
public class DefaultActionPreparator implements ActionPreparator {
public boolean prepare(Action action, CommandSession session, List<Object> params) throws Exception {
ActionMetaData actionMetaData = new ActionMetaDataFactory().create(action.getClass());
Map<Option, Field> options = actionMetaData.getOptions();
Map<Argument, Field> arguments = actionMetaData.getArguments();
List<Argument> orderedArguments = actionMetaData.getOrderedArguments();
Command command2 = actionMetaData.getCommand();
String commandErrorSt = (command2 != null) ? Ansi.ansi()