All Classes and Interfaces
Class
Description
Created by vpc on 3/7/17.
Created by vpc on 3/7/17.
Created by vpc on 3/7/17.
CommandLine args=new CommandLine(Arrays.asList("--!deleteLog","--deploy","/deploy/path","--deploy=/other-deploy/path","some-param"));
Argument a;
while (args.hasNext()) {
if ((a = args.readBooleanOption("--deleteLog")) != null) {
deleteLog = a.getBooleanValue();
} else if ((a = args.readStringOption("--deploy")) != null) {
apps.add(a.getStringValue());
} else if ((a = args.readNonOption()) != null) {
name = a.getString();
} else {
args.unexpectedArgument();
}
}
Created by vpc on 3/7/17.
Created by vpc on 2/17/17.