[
https://issues.apache.org/jira/browse/CAMEL-21966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-21966 started by Guillaume Nodet.
-----------------------------------------------
> camel-jbang - Add small examples in the help text
> -------------------------------------------------
>
> Key: CAMEL-21966
> URL: https://issues.apache.org/jira/browse/CAMEL-21966
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 4.x
>
>
> When you use --help to show help for a given command, then we should add some
> small examples in the help text. Other CLIs does that that makes it easier to
> understand the command.
> For example OC command
> {code:java}
> oc create cm --help | grep -i examples -A 2
> Examples:
> # Create a new config map named my-config based on folder bar
> oc create configmap my-config --from-file=path/to/bar {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)