docs: private static String getHeronDirectory(CommandLine cmd) {
      final String cluster = cmd.getOptionValue(Flag.Cluster.name);
      if ("local".equalsIgnoreCase(cluster) || "standalone".equalsIgnoreCase(cluster)) {
        return Constants.DEFAULT_HERON_LOCAL;
      }
      return Key.HERON_CLUSTER_HOME.getDefaultString();
    }