-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBigCloneBench.java
38 lines (33 loc) · 1.06 KB
/
BigCloneBench.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package tasks;
import picocli.CommandLine;
import java.util.concurrent.Callable;
@CommandLine.Command(
name = "bcb",
description = "The big clone bench tool",
synopsisSubcommandLabel = "COMMAND",
subcommands = {
ClearClones.class,
CountClones.class,
DeleteTool.class,
DetectClones.class,
EvaluateRecall.class,
EvaluateTool.class,
ImportClones.class,
Init.class,
ListTools.class,
PartitionInput.class,
RegisterTool.class,
CommandLine.HelpCommand.class,
}
)
public class BigCloneBench implements Callable<Void> {
@CommandLine.Spec
private CommandLine.Model.CommandSpec spec;
public static void main(String[] args) {
System.exit(new CommandLine(new BigCloneBench()).execute(args));
}
@Override
public Void call() {
throw new CommandLine.ParameterException(spec.commandLine(), "Missing subcommand");
}
}