Package org.keycloak.quarkus.runtime.cli
Class Picocli
java.lang.Object
org.keycloak.quarkus.runtime.cli.Picocli
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpicocli.CommandLinecreateCommandLine(Consumer<picocli.CommandLine.Model.CommandSpec> consumer) protected voidexitOnFailure(int exitCode, picocli.CommandLine cmd) protected PrintWritervoidparseAndRun(List<String> cliArgs) static voidprotected intprotected intrunReAugmentationIfNeeded(List<String> cliArgs, picocli.CommandLine cmd, picocli.CommandLine currentCommand) static voidvalidateConfig(List<String> cliArgs, AbstractCommand abstractCommand) Additional validation and handling of deprecated options
-
Field Details
-
ARG_PREFIX
- See Also:
-
ARG_SHORT_PREFIX
- See Also:
-
NO_PARAM_LABEL
- See Also:
-
-
Constructor Details
-
Picocli
public Picocli()
-
-
Method Details
-
parseAndRun
-
run
-
exitOnFailure
protected void exitOnFailure(int exitCode, picocli.CommandLine cmd) -
runReAugmentationIfNeeded
-
validateConfig
Additional validation and handling of deprecated options- Parameters:
cliArgs-abstractCommand-
-
createCommandLine
public picocli.CommandLine createCommandLine(Consumer<picocli.CommandLine.Model.CommandSpec> consumer) -
getErrWriter
-
println
-
parseArgs
- Throws:
PropertyException
-