Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2059

CLI usability: autocompletion clears input on pressing TAB twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Beta1
    • 7.0.2.Final
    • CLI
    • None

    Description

      This is a regression from 7.0.1, present in snapshot.

      Lets not reinvent the wheel and lets implement standard console bash-like behavior of autocompletion.

      Steps to reproduce:

      1. type :add-
      2. press tab
      3. press tab one more time

      Result:
      command line shows ":"

      Expected result:
      command line behaves like normal shell and leaves ":add-" on the command line

      [disconnected /] connect
      Connected to standalone controller at localhost:9999
      [standalone@localhost:9999 /] :add-
      
      add-namespace         add-schema-location
      [standalone@localhost:9999 /] :    
      
      add-namespace                add-schema-location          delete-snapshot              full-replace-deployment
      list-snapshots               read-attribute               read-children-names          read-children-resources
      read-children-types          read-config-as-xml           read-operation-description   read-operation-names
      read-resource                read-resource-description    reload                       remove-namespace
      remove-schema-location       replace-deployment           shutdown                     take-snapshot
      upload-deployment-bytes      upload-deployment-stream     upload-deployment-url        validate-address
      write-attribute
      [standalone@localhost:9999 /] :
      

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: