private final ArgumentWithValue file;
public BatchRunHandler(CommandContext ctx) {
super(ctx, "batch-run", true);
final FilenameTabCompleter pathCompleter = Util.isWindows() ? new WindowsFilenameTabCompleter(ctx) : new DefaultFilenameTabCompleter(ctx);
file = new ArgumentWithValue(this, pathCompleter, "--file") {
@Override
public String getValue(ParsedCommandLine args) {
String value = super.getValue(args);
if(value != null) {