package com.github.aureliano.evtbridge.app;

public class Bootstrap {

	public static void main(String[] args) {
		System.out.println("Bootstraping Event Bridge!");
	}
}
@@ -42,125 +42,815 @@
 p;%0A%0A
-public class Bootstrap %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09System.out.println(%22Bootstraping Event Bridge!%22
+import com.github.aureliano.evtbridge.app.command.HelpCommand;%0Aimport com.github.aureliano.evtbridge.app.command.ICommand;%0Aimport com.github.aureliano.evtbridge.app.helper.CliHelper;%0A%0Apublic class Bootstrap %7B%0A%09%0A%09public Bootstrap() %7B%0A%09%09super();%0A%09%7D%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09new Bootstrap().startUp(args);%0A%09%7D%0A%09%0A%09public void startUp(String%5B%5D args) %7B%0A%09%09if (args.length == 0) %7B%0A%09%09%09new HelpCommand().execute();;%0A%09%09%7D else %7B%0A%09%09%09this.executeCommand(args);%0A%09%09%7D%0A%09%7D%0A%09%0A%09private void executeCommand(String%5B%5D args) %7B%0A%09%09ICommand command = CliHelper.buildCommand(args);%0A%09%09if (command == null) %7B%0A%09%09%09this.exit(ErrorCode.COMMAND_NOT_FOUND);%0A%09%09%7D%0A%09%09%0A%09%09ErrorCode error = command.execute();%0A%09%09if (error != null) %7B%0A%09%09%09this.exit(error);%0A%09%09%7D%0A%09%7D%0A%09%0A%09private void exit(ErrorCode error) %7B%0A%09%09System.exit(error.getCode()
 );%0A%09

Configure bootstrap class.