CAMEL-21966: Add example usage snippets to camel-jbang CLI help text#22193
CAMEL-21966: Add example usage snippets to camel-jbang CLI help text#22193
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
- Debug: replace --suspend (non-existent) with --stop-on-exit=false - SBOMGenerator: replace --output-format with --sbom-output-format Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🧪 CI tested the following changed modules:
All tested modules (26 modules)
|
- Complete: use 'camel completion' (registered name) instead of 'camel complete' - CamelLogAction: use 'camel log' (top-level shortcut) instead of 'camel cmd log' - CamelTraceAction: use 'camel trace' (top-level shortcut) instead of 'camel cmd trace' - CatalogDoc: use 'camel doc' (top-level shortcut) instead of 'camel catalog doc' Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
apupier
left a comment
There was a problem hiding this comment.
one example is not working
could you provide a snapshot of how it is rendered in the terminal?
| "%nExamples:", | ||
| " camel doc kafka", | ||
| " camel doc timer", | ||
| " camel doc beer-source", |
There was a problem hiding this comment.
by default, I do not have this beer-source part fo the catalog
Camel kamelet: beer-source not found. Did you mean? fhir-source, jira-source
There was a problem hiding this comment.
Claude Code on behalf of Guillaume Nodet
Good catch! Fixed in 4401bb1 — replaced beer-source with aws-s3-source which is a real kamelet available in the default catalog.
…rce in example Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Claude Code on behalf of Guillaume Nodet @apupier Here's how the examples render in the terminal: camel run --helpcamel doc --helpcamel export --helpcamel config set --help (subcommand example)camel log --helpcamel version list --helpThe |
JIRA: CAMEL-21966
Summary
--helpoutput of 29 camel-jbang CLI commands using picocli'sfooterfieldocandkubectlTest plan
camel <command> --helpto see examples in the footer section