package jfdi.logic.commands;

import jfdi.logic.events.ShowDirectoryEvent;
import jfdi.logic.interfaces.Command;
import jfdi.storage.apis.MainStorage;

/**
 * @author Liu Xinan
 */
public class DirectoryCommand extends Command {

    private DirectoryCommand(Builder builder) {}

    public static class Builder {

        public DirectoryCommand build() { return new DirectoryCommand(this); }

    }

    @Override
    public void execute() {
        String pwd = MainStorage.getInstance().getCurrentDirectory();
        eventBus.post(new ShowDirectoryEvent(pwd));
    }
}

@@ -349,16 +349,28 @@
 uild() %7B
+%0A           
  return 
@@ -396,16 +396,24 @@
 d(this);
+%0A       
  %7D%0A%0A    

Complete merge