| Class | Description |
|---|---|
| CoreNutsArgumentsParser |
Nuts Arguments parser.
|
| DefaultNutsArgument | |
| DefaultNutsCommandLine |
CommandLine args=new CommandLine(Arrays.asList("--!deleteLog","--deploy","/deploy/path","--deploy=/other-deploy/path","some-param"));
Argument a;
while (args.hasNext()) {
if ((a = args.nextBoolean("--deleteLog")) != null) {
deleteLog = a.getBooleanValue();
} else if ((a = args.nextString("--deploy")) != null) {
apps.add(a.getStringValue());
} else if ((a = args.next()) != null) {
name = a.getString();
} else {
args.unexpectedArgument();
}
}
|
| DefaultNutsCommandLineFormat | |
| DefaultNutsCommandLines | |
| DefaultNutsCommandLines.Factory | |
| NutsCommandLineShellOptions | |
| NutsCommandLineUtils |
Copyright © 2022 vpc open source initiative. All rights reserved.