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

commit 080dbcb4e5240147e3302e7342329dcd333f31f1
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jan 4 14:05:26 2023 +0100

    CAMEL-18523: camel-jbang - Add watch option
---
 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 64dc1c7c695..c84bad7e13c 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -663,6 +663,19 @@ Stopping running Camel integration (pid: 61818)
 Stopping running Camel integration (pid: 62506)
 ----
 
+==== Watching local Camel integrations
+
+Most of the management commands can run in _watch_ mode, which repetitively 
output the status in full-screen mode.
+This is done using the `--watch` parameter as follows:
+
+[source,bash]
+----
+camel ps --watch
+  PID   NAME                          READY  STATUS    AGE
+ 61818  sample.camel.MyCamelApplica…   1/1   Running  26m38s
+ 62506  dude                           1/1   Running   4m34s
+----
+
 ==== Controlling Spring Boot and Quarkus integrations
 
 The Camel JBang CLI will by default only control Camel integrations that are 
running using the CLI, eg `camel run foo.java`.
@@ -717,6 +730,8 @@ The value of `0s/0s/-` means that the last started and 
completed message just ha
 and  that there has not been any failed message yet. And this example 
`9s/9s/1h3m` means that last started and
 completed message is 9 seconds ago, and last failed is 1 hour and 3 minutes 
ago.
 
+TIP: You can run in _watch_ mode using: `camel get --watch`
+
 You can also see the status of every routes, from all the local Camel 
integrations with `camel get route`:
 
 [source,bash]

Reply via email to