Skip to content
Draft
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

// AUTO-GENERATED by camel-package-maven-plugin - DO NOT EDIT THIS FILE
= camel cmd route-diagram

Display Camel route diagram in the terminal


== Usage

[source,bash]
----
camel cmd route-diagram [options]
----



== Options

[cols="2,5,1,2",options="header"]
|===
| Option | Description | Default | Type
| `--filter` | Filter route by filename or route id | | String
| `--output` | Save diagram to a PNG file instead of displaying in terminal | | String
| `--theme,--colors` | Color theme preset (dark, light, transparent) or custom colors (e.g. bg=#1e1e1e:from=#2e7d32:to=#1565c0). Use bg= for transparent. | dark | String
| `--width` | Image width in pixels | 0 | int
| `-h,--help` | Display the help and sub-commands | | boolean
|===


Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ camel cmd [options]
| xref:jbang-commands/camel-jbang-cmd-reload.adoc[reload] | Trigger reloading Camel
| xref:jbang-commands/camel-jbang-cmd-reset-stats.adoc[reset-stats] | Reset performance statistics
| xref:jbang-commands/camel-jbang-cmd-resume-route.adoc[resume-route] | Resume Camel routes
| xref:jbang-commands/camel-jbang-cmd-route-diagram.adoc[route-diagram] | Display Camel route diagram in the terminal
| xref:jbang-commands/camel-jbang-cmd-route-structure.adoc[route-structure] | Dump Camel route structure
| xref:jbang-commands/camel-jbang-cmd-send.adoc[send] | Send messages to endpoints
| xref:jbang-commands/camel-jbang-cmd-start-group.adoc[start-group] | Start Camel route groups
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public void execute(String... args) {
.addSubcommand("reload", new CommandLine(new CamelReloadAction(this)))
.addSubcommand("reset-stats", new CommandLine(new CamelResetStatsAction(this)))
.addSubcommand("resume-route", new CommandLine(new CamelRouteResumeAction(this)))
.addSubcommand("route-diagram", new CommandLine(new CamelRouteDiagramAction(this)))
.addSubcommand("route-structure", new CommandLine(new CamelRouteStructureAction(this)))
.addSubcommand("send", new CommandLine(new CamelSendAction(this)))
.addSubcommand("start-group", new CommandLine(new CamelRouteGroupStartAction(this)))
Expand Down
Loading