Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Each alias below shows how to run it with JBang.
For this you need to have `jbang` installed and available in your PATH.
See the [JBang website](https://jbang.dev/download) for options on how to install JBang.

- 17 [Aliases](#aliases)
- 5 [Templates](#templates)

## Aliases


Expand Down
6 changes: 3 additions & 3 deletions catalog2readme.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
///usr/bin/env jbang "$0" "$@" ; exit $?
// Update the Quarkus version to what you want here or run jbang with
// `-Dquarkus.version=<version>` to override it.
//DEPS io.quarkus:quarkus-bom:${quarkus.version:3.5.0}@pom
//DEPS io.quarkus:quarkus-bom:${quarkus.version:3.26.0}@pom
//DEPS io.quarkus:quarkus-picocli
//DEPS io.quarkus:quarkus-jackson
//DEPS io.quarkus:quarkus-qute
Expand All @@ -21,7 +21,7 @@
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;

import io.quarkus.qute.Template;
import picocli.CommandLine;
Expand All @@ -46,7 +46,7 @@ public class catalog2readme implements Runnable {
public catalog2readme(ObjectMapper mapper) {
this.mapper = mapper;
mapper// .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES,true)
.setPropertyNamingStrategy(PropertyNamingStrategy.KEBAB_CASE)
.setPropertyNamingStrategy(PropertyNamingStrategies.KEBAB_CASE)
.setVisibility(PropertyAccessor.FIELD, Visibility.ANY);
}

Expand Down
3 changes: 3 additions & 0 deletions templates/index.txt.qute
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Each alias below shows how to run it with JBang.
For this you need to have `jbang` installed and available in your PATH.
See the [JBang website](https://jbang.dev/download) for options on how to install JBang.

- {catalog.aliases.size} [Aliases](#aliases)
- {catalog.templates.size} [Templates](#templates)

## Aliases

{#each catalog.aliases}
Expand Down