This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 216e074  CAMEL-17256: camel-jbang - Allow to run multiple files using 
wildcards. Detect properties files from the list of run files.
216e074 is described below

commit 216e074b22e979a5ada1e5257be55512e48cc6e6
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Dec 1 16:32:01 2021 +0100

    CAMEL-17256: camel-jbang - Allow to run multiple files using wildcards. 
Detect properties files from the list of run files.
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 223c3680..0108fee 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -93,6 +93,21 @@ You can also mix different xref:dsl.adoc[DSLs] such as yaml 
and Java:
 jbang -Dcamel.jbang.version=3.14.0 CamelJBang@apache/camel run one.yaml 
hello.java
 ----
 
+You can also use wildcards (i.e. `*`) to match multiple files, such as running 
all the yaml files:
+
+[source,bash]
+----
+jbang -Dcamel.jbang.version=3.14.0 CamelJBang@apache/camel run *.yaml
+----
+
+Or you can run all files starting with foo*
+
+[source,bash]
+----
+jbang -Dcamel.jbang.version=3.14.0 CamelJBang@apache/camel run foo*
+----
+
+TIP: The run goal can also detect files that are `properties`.
 
 === Live reload
 

Reply via email to