private static Template fromCatalog(String catalogName, String templateName) {
		Catalog catalog = Catalog.getByName(catalogName);
		Template template = catalog.templates.get(templateName);
		if (template == null) {
			throw new ExitException(EXIT_INVALID_INPUT, "No template found with name '" + templateName + "'");
		}
		return template;
	}
Returns the given Template from the given registered Catalog

@param catalogName  The name of a registered Catalog
@param templateName The name of a Template
@return A Template object
src/main/java/dev/jbang/catalog/Template.java