Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1617

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha4
    • 3.0.0.Alpha2
    • CLI
    • 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
            chaowan@redhat.com Chao Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: