[
https://issues.apache.org/jira/browse/SOLR-17401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pugh updated SOLR-17401:
-----------------------------
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.
> Figure out Sub Command pattern between zk, snapshots, package, and auth
> -----------------------------------------------------------------------
>
> Key: SOLR-17401
> URL: https://issues.apache.org/jira/browse/SOLR-17401
> Project: Solr
> Issue Type: Sub-task
> Components: cli
> Reporter: Eric Pugh
> Priority: Minor
>
> 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.
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]