MCPcopy Create free account
hub / github.com/apache/solr / findTool

Method findTool

solr/core/src/java/org/apache/solr/cli/SolrCLI.java:120–123  ·  view source on GitHub ↗
(String[] args, ToolRuntime runtime)

Source from the content-addressed store, hash-verified

118 runtime.exit(tool.runTool(cli));
119 }
120
121 public static Tool findTool(String[] args, ToolRuntime runtime) throws Exception {
122 String toolType = args[0].trim().toLowerCase(Locale.ROOT);
123 return newTool(toolType, runtime);
124 }
125
126 public static CommandLine parseCmdLine(Tool tool, String[] args) throws IOException {

Callers 2

mainMethod · 0.95
runToolMethod · 0.80

Calls 2

newToolMethod · 0.95
trimMethod · 0.45

Tested by 1

runToolMethod · 0.64