code: public void start() {
  		setDefaultLogLevel();
  		
  		/*
  		 * JLine doesn't run in Eclipse. To get around this, we allow
  		 * a property "jlineDisable" to be specified via VM arguments.
  		 * This causes it to use standard scanning of System.in and disables
  		 * auto complete functionality.
  		 */
  		if (Boolean.getBoolean("jlineDisable")) {
  			Scanner scan = new Scanner(System.in);
  			boolean run = true;
  			while (run) {
  				System.out.print(_prompt + " (no jline) >");
  				String nextLine = scan.nextLine();
  				run = processInputLine(nextLine);
  			}
  			scan.close();
  		}
  		else {
  			try {
  				ConsoleReader reader = new ConsoleReader();
  				reader.setBellEnabled(_appContext.getBoolean("cliapi.bellenabled", false));
  				reader.addCompleter(new StringsCompleter(this.getCommandNames().toArray(new String[0])));
  	      boolean run = true;
  				while (run) {
  					String nextLine = reader.readLine(_prompt + " >");
  					run = processInputLine(nextLine);
  				}
  				
  			}
  			catch (IOException e) {
  				System.err.println("Error reading from input.");
  				e.printStackTrace();
  			}
  		}
  	}
docs: Start the application. This will continuously loop until
  the user exits the application.