Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2356

Sort CLI autocompletion results in alphabetical order

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: CLI
    • Labels:
      None
    • Rank:
      1|hzysgv:

      Description

      When one tabs in the CLI to get a list of available options or commands, the responses come back in a non-alphabetical order:

      cdap (http://JJs-MacBook-Pro.local:10000/default)> 
      execute    cli        exit       quit       connect    list       delete     deploy     describe   create     get        set        truncate   send       load       start      
      stop       call       use        suspend    resume     help       
      cdap (http://JJs-MacBook-Pro.local:10000/default)> get 
      stream         stream-stats   flow           workflow       worker         service        mapreduce      spark          flowlet        endpoints      adapter        
      preferences    resolved       schedule       
      cdap (http://JJs-MacBook-Pro.local:10000/default)> get adapter 
      logs     status   runs     
      

      These lists would be better (I think) if they were alphabetical. I think it would be too difficult to invent an order in which they should be returned. If alphabetical is a problem, then perhaps they could be grouped first and then sorted alphabetically.

        Attachments

          Activity

            People

            • Assignee:
              shilpa Shilpa Subrahmanyam
              Reporter:
              John John Jackson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: