[ 
https://issues.apache.org/jira/browse/CAMEL-18721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-18721.
---------------------------------
    Resolution: Won't Fix

Closing as stale. Since then the CLI moved from picocli to aesh (CAMEL-23810), 
and the completion of integration names and pids for camel top/stop was not 
done (the existing PidNameAgeCompletionCandidates only completes the --sort 
values). It can be reopened if someone wants to pick it up on the aesh 
completion API.

_Claude Code on behalf of davsclaus_

> camel-jbang - name/pid completion for camel top/stop commands
> -------------------------------------------------------------
>
>                 Key: CAMEL-18721
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18721
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jbang
>    Affects Versions: 3.19.0
>            Reporter: Tadayoshi Sato
>            Assignee: Tadayoshi Sato
>            Priority: Minor
>
> Similarly to CAMEL-18716, we can provide positional parameter completion for 
> integration names and pids with {{camel top}} and {{{}camel stop{}}}:
> {code:java}
> $ camel top context [TAB]
> $ camel stop [TAB]
> {code}
> But implementing this should be a bit trickier as the completion script needs 
> to call back {{camel ps}} to get completion candidates. We can embed the 
> completion by using Picocli's {{@Parameters}} {{completionCandidates}} 
> attribute.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to