public static Catalog getMerged(boolean includeImported, boolean includeImplicits) {
		List<Catalog> catalogs = new ArrayList<>();
		findNearestCatalogWith(Util.getCwd(), includeImported, includeImplicits, cat -> {
			catalogs.add(0, cat);
			return null;
		});

		Catalog result = Catalog.empty();
		for (Catalog catalog : catalogs) {
			result.aliases.putAll(catalog.aliases);
			result.templates.putAll(catalog.templates);
			result.catalogs.putAll(catalog.catalogs);
		}

		return result;
	}
Returns a Catalog containing all the aliases from local catalog files merged
into one. This follows the system where aliases that are "nearest" have
priority.

@param includeImplicits Determines if the implicit catalogs should be merged
                        or not
@return a Catalog object
src/main/java/dev/jbang/catalog/Catalog.java