private boolean defaultBeelineConnect(CommandLine cl) {
    String url;
    try {
      url = getDefaultConnectionUrl(cl);
      if (url == null) {
        debug("Default hs2 connection config file not found");
        return false;
      }
    } catch (BeelineConfFileParseException e) {
      error(e);
      return false;
    }
    return dispatch("!connect " + url);
  }
Start accepting input from stdin, and dispatch it
to the appropriate {@link CommandHandler} until the
global variable <code>exit</code> is true.
beeline/src/java/org/apache/hive/beeline/BeeLine.java