(CommandLine cli)
| 121 | .addOptionGroup(getConnectionOptions()); |
| 122 | } |
| 123 | |
| 124 | @Override |
| 125 | public void runImpl(CommandLine cli) throws Exception { |
| 126 | try (var solrClient = CLIUtils.getSolrClient(cli)) { |
| 127 | if (CLIUtils.isCloudMode(solrClient)) { |
| 128 | createCollection(cli); |
| 129 | } else { |
| 130 | createCore(cli, solrClient); |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | protected void createCore(CommandLine cli, SolrClient solrClient) throws Exception { |
nothing calls this directly
no test coverage detected