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-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push:
new fc4d983 Update readme
fc4d983 is described below
commit fc4d983780066fd7721e6a171bf0791d266519ef
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Sep 26 08:49:01 2023 +0200
Update readme
---
jbang/blueprint-to-yaml/README.adoc | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/jbang/blueprint-to-yaml/README.adoc
b/jbang/blueprint-to-yaml/README.adoc
index a2d4bcb..ecab683 100644
--- a/jbang/blueprint-to-yaml/README.adoc
+++ b/jbang/blueprint-to-yaml/README.adoc
@@ -38,7 +38,7 @@ $ camel run *
=== Transforming to YAML
The example will on startup transform the source from XML to YAML and save
-this into dump sub directory.
+this into dump sub directory (or print to console).
This can also be done explicit from CLI, by executing:
@@ -49,6 +49,20 @@ $ camel transform * --format=yaml --output=my-dump
This will transform the XML DSL into YAML DSL and store the output in the
my-dump directory.
+If you want to print the dump to console, you can do:
+
+[source,sh]
+----
+$ camel transform * --format=yaml
+----
+
+And since yaml is default format, it can be shorter:
+
+[source,sh]
+----
+$ camel transform *
+----
+
=== Help and contributions