davsclaus opened a new pull request, #23160: URL: https://github.com/apache/camel/pull/23160
[CAMEL-23236](https://issues.apache.org/jira/browse/CAMEL-23236) _Claude Code on behalf of Claus Ibsen_ Replaces #22211 with a clean rebase and review feedback addressed. ## Summary Improve the beginner UX for Camel JBang by adding several features that help new users get started quickly: - **Interactive `init` template picker**: When `camel init` is run without arguments in a TTY, presents a numbered menu to pick category (Routes, Kamelets, Pipes), template, and filename - **`run --example`**: Bundled example routes (timer-log, cron-log, rest-api) that users can run immediately without creating files - **`doctor` command**: Diagnostic command that checks environment setup (Java version, Maven artifact resolution, Docker/Podman, ports, disk space) - **Extended did-you-mean**: Catalog commands now suggest similar names when a filter returns no results - **Context-aware shell banner**: The interactive shell detects route files in the current directory and shows appropriate quick-start hints ### Changes from original PR (#22211) - **Fixed**: Doctor Java version check now correctly accepts Java 17 as supported (with a recommendation to upgrade to 21+) - **Removed**: KIT plugin type (3rd party, not from ASF — should not be bundled) - **Cleaned**: Rebased cleanly on main, removing all unrelated changes (upgrade guide deletions, route-diagram removal, eslint downgrades, elytron docs) that were rebase artifacts in the original PR ## Test plan - [x] `PluginGetTest` passes with correct plugin count (no KIT) - [x] Full `camel-jbang-core` test suite passes (388 tests, 0 failures) - [ ] `camel init` (no args, in TTY) shows interactive template picker - [ ] `camel run --example timer-log` runs bundled example - [ ] `camel doctor` reports environment diagnostics with correct Java 17 handling - [ ] `camel shell` shows context-aware banner 🤖 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]
