Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4949

Tab completion is doesn't work for cli variables and properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR2
    • 7.0.0.GA
    • CLI, User Experience
    • None

      CLI tab completion doesn't work for CLI variables.

      Add a CLI variable:

      set myvar=/subsystem=datasources/data-source=ExampleDS
      [standalone@embedded /] $myvar:read-resource
      {
          "outcome" => "success",
          "result" => {
      ...
      

      Now try to use tab completion

      actual

      [standalone@embedded /] $myvar:read<TAB>
      [standalone@embedded /] $myvar:readread-<TAB>
      [standalone@embedded /] $myvar:readread-
      'readread-' is not a valid operation name.
      

      expected

      [standalone@embedded /] $myvar:read<TAB>
      [standalone@embedded /] $myvar:read-resource
      

            chaowan@redhat.com Chao Wang
            pkremens@redhat.com Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: