* @author <a href="mailto:stale.pedersen@jboss.org">Ståle W. Pedersen</a>
*/
public class AeshExampleExtension {
public static void main(String[] args) throws IOException {
SettingsBuilder settingsBuilder = new SettingsBuilder();
settingsBuilder.readInputrc(false);
settingsBuilder.logging(true);
CommandRegistry registry = new AeshCommandRegistryBuilder()
.command(ExitCommand.class)
.command(Less.class)
.command(More.class)
.command(Harlem.class)
.command(Matrix.class)
.command(GroovyCommand.class)
.command(Ls.class)
.command(Grep.class)
.command(Cat.class)
.create();
AeshConsole aeshConsole = new AeshConsoleBuilder()
.commandRegistry(registry)
.settings(settingsBuilder.create())
.prompt(new Prompt("[aesh@extensions]$ "))
.create();
aeshConsole.start();
}