[ 
https://issues.apache.org/jira/browse/CAMEL-27048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18145634#comment-18145634
 ] 

Claus Ibsen commented on CAMEL-27048:
-------------------------------------

PR: https://github.com/apache/camel/pull/30201

_Claude Code on behalf of Claus Ibsen_

> camel-jbang - camel cmd creates only its own command, not all commands and 
> plugins
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-27048
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27048
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> {{camel cmd ...}} (send, route-diagram, reset-stats, stop-route, ...) is one 
> of the commands that AI agents run most, and it takes about 240 ms where 
> {{camel ps}} takes 125 ms (JDK 25, Apple M4 Pro, through camel.sh with its 
> CDS archive).
> {{cmd}} is in {{PluginHelper.PLUGIN_CONSUMING_BUILTINS}} (with shell, run and 
> export), so the CLI creates all its commands and loads every plugin for it: 
> the TUI with TamboUI, Jackson, Citrus, Kubernetes, 3277 classes against 1486 
> for {{camel ps}}. No plugin adds anything under {{cmd}}: the plugins add 
> their own top-level command (tui, validate, mcp, kubernetes, edit, generate, 
> test, self-update), and the {{cmd}} subcommands do not use plugins.
> Fix: {{cmd}} is no longer a plugin-consuming command, so {{camel cmd ...}} 
> creates only the {{cmd}} command, as the other commands of the CLI do.
> _Claude Code on behalf of Claus Ibsen_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to