public ShellImpl(FileResource<?> initialResource, Settings settings, CommandManager commandManager,
AddonRegistry addonRegistry)
{
this.currentResource = initialResource;
this.addonRegistry = addonRegistry;
this.console = new AeshConsoleBuilder().prompt(createPrompt()).settings(settings)
.commandRegistry(new ForgeCommandRegistry(this, commandManager))
.create();
this.output = new ShellUIOutputImpl(console);
this.console.start();
}