davsclaus opened a new pull request, #1859: URL: https://github.com/apache/camel-website/pull/1859
A blog post on the Camel CLI in Camel 4.24, to go out before the two chaos posts (#1852, #1853), which it does not mention. The post covers: - **Fast**: a command takes about 150 ms instead of 1.25 s. There's a table of 6 commands, 4.23.0 against a 4.24 nightly build: median of 15 runs, Apple M4 Pro, Java 25, `bin/camel.sh` of the distributions. The post explains where the second went: only the command you run is created, no log4j unless something logs, no `java -version`, no exit wait, plain jars instead of the Spring Boot fat jar, and class data sharing (with numbers with and without it). - **On aesh instead of picocli**: why (a living project with a maintainer we can talk to, not speed); the 36 issues and 17 PRs from the port, fixed in aesh 3.19 and 3.19.1; what aesh adds to the speed (about 20 ms on `version`, 60 ms on `--help`); what changes for users and for plugin authors (link to the upgrade guide). `@file` arguments work as before (needs apache/camel#29745). - **A CLI that an AI can trust, and that keeps up with it**: an agent calls the CLI 50 to 100 times per task. A second per call is minutes per task, and cheap calls let the agent verify instead of guess. An agent only has the exit code and the output, so wrong answers or hangs cost it more than the command took. Then the exit code contract, stderr, JSON, timeouts and no hang without a terminal (CAMEL-25388). - **Stay up to date**: the web installer, LTS and X.Y selectors, and the nightly `camel self-update --version SNAPSHOT`. - **Smaller things**: `camel cmd send --repeat/--interval` and a folder body, `--data-dir`, dev mode reloads of beans/component properties and dependencies, the log of the previous run, Java routes read by the parser. Each claim was checked against the 4.24 upgrade guide, the CLI help and JIRA. Before publishing: - set the date to the day it goes out (now 2026-11-17, a placeholder); - apache/camel#29745 merged (aesh 3.19.1 and `@file`); - re-run the timings on the released 4.24.0 if it goes out after the release, and update "Try it" (it now points to the nightly build); - no feature image yet. _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
