Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16757 Umbrella Ticket for Revamping Solr CLI's for the Future
  3. SOLR-17401

Figure out Sub Command pattern between zk, snapshots, package, and auth

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • cli
    • None

    Description

      We have a number of ways of grouping sub commands together.  Here is how zk works:

      bin/solr zk cp

      bin/solr zk ls

      bin/solr zk upconfig

       

      We have for snapshots:

      bin/solr snapshot-create

      bin/solr snapshot-delete

       

      And then for collections we have a bare:

      bin/solr create

      bin/solr delete

       

      Plus, for packages we have

      bin/solr package list-installed

      bin/solr package install

       

      What do we like?   in the above list, they all have a seperate SomethingTool.java pattern, except for Package which has all the commands folded into one giant PackageTool.java file. 

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            epugh Eric Pugh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: