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/12 14:08:00 UTC

[jira] [Updated] (CAMEL-18716) camel-jbang - Provide completion for positional file path parameters

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

Tadayoshi Sato updated CAMEL-18716:
-----------------------------------
    Description: 
Shell completion is provided with CAMEL-18673, but file path completion for positional parameters such as:
{code}
$ camel run [TAB]
$ camel pipe [TAB]
{code}
doesn't work, because it seems Picocli disables the default fallback Bash completion.

-To support such file path completion, it seems we need an enhancement to Picocli:-
https://github.com/remkop/picocli/issues/1871
Discussing with the author of Picocli I found a way to implement it within Camel JBang.

  was:
Shell completion is provided with CAMEL-18673, but file path completion for positional parameters such as:
{code}
$ camel run [TAB]
$ camel pipe [TAB]
{code}
doesn't work, because it seems Picocli disables the default fallback Bash completion.

To support such file path completion, it seems we need an enhancement to Picocli:
https://github.com/remkop/picocli/issues/1871


> camel-jbang - Provide completion for positional file path parameters
> --------------------------------------------------------------------
>
>                 Key: CAMEL-18716
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18716
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jbang
>    Affects Versions: 3.19.0
>            Reporter: Tadayoshi Sato
>            Assignee: Tadayoshi Sato
>            Priority: Major
>
> Shell completion is provided with CAMEL-18673, but file path completion for positional parameters such as:
> {code}
> $ camel run [TAB]
> $ camel pipe [TAB]
> {code}
> doesn't work, because it seems Picocli disables the default fallback Bash completion.
> -To support such file path completion, it seems we need an enhancement to Picocli:-
> https://github.com/remkop/picocli/issues/1871
> Discussing with the author of Picocli I found a way to implement it within Camel JBang.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)