add tools pull-deps to cli

This commit is contained in:
Xavier Léauté 2013-10-30 18:16:27 -07:00
parent faa4f4ac9b
commit ef88f37bbe
2 changed files with 17 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class Main
builder.withGroup("tools")
.withDescription("Various tools for working with Druid")
.withDefaultCommand(Help.class)
.withCommands(ConvertProperties.class, DruidJsonValidator.class);
.withCommands(ConvertProperties.class, DruidJsonValidator.class, PullDependencies.class);
builder.withGroup("index")
.withDescription("Run indexing for druid")

View File

@ -0,0 +1,16 @@
package io.druid.cli;
import io.airlift.command.Command;
@Command(
name = "pull-deps",
description = "Pull down dependencies to the local repository specified by druid.extensions.localRepository"
)
public class PullDependencies implements Runnable
{
@Override
public void run() {
// dependencies are pulled down as a side-effect of Guice injection
}
}