Package io.quarkus.cli
Class QuarkusCli
java.lang.Object
io.quarkus.cli.QuarkusCli
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) class -
Field Summary
FieldsModifier and TypeFieldDescription(package private) picocli.CommandLine.IFactoryprotected HelpOption(package private) OutputOptionMixinprotected PropertiesOptionsprotected RegistryClientMixinbooleanprotected picocli.CommandLine.Model.CommandSpec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()checkMissingCommand(picocli.CommandLine root, String[] args) Process the arguments passed and return an identifier of the potentially missing subcommand if any.int
-
Field Details
-
factory
@Inject picocli.CommandLine.IFactory factory -
registryClient
-
helpOption
-
showVersion
public boolean showVersion -
output
OutputOptionMixin output -
spec
protected picocli.CommandLine.Model.CommandSpec spec -
propertiesOptions
-
-
Constructor Details
-
QuarkusCli
public QuarkusCli()
-
-
Method Details
-
getOutput
-
run
- Specified by:
runin interfaceio.quarkus.runtime.QuarkusApplication- Throws:
Exception
-
checkMissingCommand
Process the arguments passed and return an identifier of the potentially missing subcommand if any.- Parameters:
root- the root commandargs- the arguments passed to the root command- Returns:
- the missing subcommand wrapped in
Optionalor empty if no subcommand is missing.
-
call
-