Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1232

Display available commands in a hierarchical way

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M3
    • Component/s: @ ROO SHELL
    • Labels:
      None

      Description

      Currently in Spring Integration we have a lot of 'integration define' commands
      For example:

      roo> integration define service-activator
      
      roo> integration define channel
      
      roo> integration define gateway
      
      . . .
      

      The issue is that there are other commands (e.g., integration describe class, integration hint, integration support and more)
      It doesn't look good when all of the commands are displayed at once even if all of them are available for execution.

      What would be nice is to display available commands the same way initial set is displayed where i only see 'integration'. When i type 'integration' and <TAB> then i should see the next segment (e.g., integration define) and when i type that and <TAB>, then i should see the next and so on.
      I have it working currently via some OSGi jiggery-trickery:

      bar roo> integration <TAB>
      
      integration define           integration describe class   integration hint             integration support
      bar roo> integration define <TAB> 
      
      integration define channel               integration define gateway               integration define header-value-router   integration define service-activator
      

      Would be nice if ROO was to provide support for this out of the box.

        Attachments

          Activity

            People

            Assignee:
            balex Ben Alex
            Reporter:
            oleg.zhurakousky@springsource.com Oleg Zhurakousky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: