Skip to content
Permalink
Browse files
adding Eviction command to default commands
  • Loading branch information
Romain Manni-Bucau committed Nov 30, 2015
1 parent 02c3224 commit 5a358ee3c9ee8aaf244897a71da5b83d9b922f08
Showing 1 changed file with 3 additions and 1 deletion.
@@ -21,6 +21,7 @@
import io.airlift.airline.ParseException;
import org.apache.batchee.cli.command.Abandon;
import org.apache.batchee.cli.command.CliConfiguration;
import org.apache.batchee.cli.command.Eviction;
import org.apache.batchee.cli.command.Executions;
import org.apache.batchee.cli.command.Exit;
import org.apache.batchee.cli.command.Instances;
@@ -113,7 +114,8 @@ public Runnable decorate(final Runnable task) {
Start.class, Restart.class,
Status.class, Running.class,
Stop.class, Abandon.class,
Instances.class, Executions.class);
Instances.class, Executions.class,
Eviction.class);
}
final Iterator<Class<? extends UserCommand>> userCommands = cliConfiguration.userCommands();
if (userCommands != null) {

0 comments on commit 5a358ee

Please sign in to comment.