You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tadayoshi Sato (Jira)" <ji...@apache.org> on 2022/11/14 07:48:00 UTC

[jira] [Updated] (CAMEL-18721) camel-jbang - name/pid completion for camel top/stop commands

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

Tadayoshi Sato updated CAMEL-18721:
-----------------------------------
    Description: 
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.

  was:
Similarly to CAMEL-18716, we can provide positional parameter completion for names and pids with {{camel top}} and {{camel stop}}:
{code}
$ 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.


> 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: Major
>
> 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
(v8.20.10#820010)