sk-reddy17 opened a new pull request, #24276:
URL: https://github.com/apache/camel/pull/24276
The `camel --help` output lists 40+ commands in one flat alphabetical list,
which is hard to scan. This groups them into categories (Running,
Monitoring,
Actions, Development, Configuration, Catalog, AI) so it's easier to find
what
you need.
Done with a small picocli `IHelpSectionRenderer` wired into
`CamelJBangMain`.
Anything not mapped to a group falls into "Other", so no command gets
dropped.
Fixes https://issues.apache.org/jira/browse/CAMEL-23654
## Example
Commands:
Running:
run Run as local Camel integration
dev Run in dev mode with live reload
stop Shuts down running Camel integrations
Monitoring:
get Get status of Camel integrations
top Top status of Camel integrations
Configuration:
config Get and set user configuration values
Catalog:
catalog List artifacts from Camel Catalog
AI:
ask Ask a question about a running Camel application using AI
...
## Test plan
- [x] Test checks all the category headers show up in `--help`
- [x] Test checks the key commands (run, get, config, catalog) are still
listed
- [x] Ran `camel --help` by hand to confirm it looks right
--
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]