[forge-issues] [JBoss JIRA] (FORGE-2291) Saying No to display all NNN possibilities in CLI completer exists instead of allowing to continue

Claus Ibsen (JIRA) issues at jboss.org
Mon Mar 23 07:46:18 EDT 2015


Claus Ibsen created FORGE-2291:
----------------------------------

             Summary: Saying No to display all NNN possibilities in CLI completer exists instead of allowing to continue
                 Key: FORGE-2291
                 URL: https://issues.jboss.org/browse/FORGE-2291
             Project: Forge
          Issue Type: Bug
          Components: UI - Shell
    Affects Versions: 2.15.2.Final
            Reporter: Claus Ibsen
            Priority: Minor


I have some Camel forge commands, and we have completers for some options.

One of the options is to provide a Camel component name. And as we have a lot of then, eg 180 then the completer asks if you want to show them all or not. If you type N then the CLI exists, and you have to redo the command again. I would expected N to go back so I can continue typing on the current command as if I didnt press TAB to trigger the completer.

See below for example
{code}
[foo]$ camel-add-endpoint-xml
--componentNameFilter  --componentName  --instanceName  --xml
[foo]$ camel-add-endpoint-xml --componentName
Display all 180 possibilities? (y or n)
[foo]$
{code}

If I hit ESC instead I would expect it to exit which it does. So typing N should take me back, so I can continue typing that command as-is.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the forge-issues mailing list