Uses of Class
picocli.CommandLine.Command
-
Packages that use CommandLine.Command Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletion
functionality.picocli.codegen.annotation.processing picocli.codegen.aot.graalvm picocli.codegen.docgen.manpage -
-
Uses of CommandLine.Command in picocli
Classes in picocli with annotations of type CommandLine.Command Modifier and Type Class Description private static class
AutoComplete.App
CLI command class for generating completion script.static class
AutoComplete.GenerateCompletion
Command that generates a Bash/ZSH completion script for its top-level command.static class
CommandLine.HelpCommand
Help command that can be installed as a subcommand on all application commands.Methods in picocli with parameters of type CommandLine.Command Modifier and Type Method Description private static void
CommandLine.Model.CommandReflection. initSubcommands(CommandLine.Command cmd, java.lang.Class<?> cls, CommandLine.Model.CommandSpec parent, CommandLine.IFactory factory, java.util.Stack<java.lang.Class<?>> hierarchy)
private static void
CommandLine.Model.CommandReflection. injectSpecIntoVersionProvider(CommandLine.Model.CommandSpec result, CommandLine.Command cmd, CommandLine.IFactory factory)
void
CommandLine.Model.CommandSpec. updateCommandAttributes(CommandLine.Command cmd, CommandLine.IFactory factory)
Updates the following attributes from the specified@Command
annotation: aliases,parser separator
, command name, version, help command, version provider, default provider andusage message spec
.(package private) void
CommandLine.Model.UsageMessageSpec. updateFromCommand(CommandLine.Command cmd, CommandLine.Model.CommandSpec commandSpec, boolean loadResourceBundle)
-
Uses of CommandLine.Command in picocli.codegen.annotation.processing
Methods in picocli.codegen.annotation.processing with parameters of type CommandLine.Command Modifier and Type Method Description static void
DefaultValueProviderMetaData. initDefaultValueProvider(CommandLine.Model.CommandSpec result, CommandLine.Command cmd)
Sets the specifiedCommandSpec
's default value provider to aDefaultValueProviderMetaData
instance if the annotation attribute was present on the specifiedCommand
annotation.static void
VersionProviderMetaData. initVersionProvider(CommandLine.Model.CommandSpec result, CommandLine.Command cmd)
Sets the specifiedCommandSpec
's CommandLine.Model.CommandSpec.versionProvider(picocli.CommandLine.IVersionProvider) version provider} to aVersionProviderMetaData
instance if the annotation attribute was present on the specifiedCommand
annotation.private void
AbstractCommandSpecProcessor. updateCommandAttributes(CommandLine.Model.CommandSpec result, CommandLine.Command cmd)
-
Uses of CommandLine.Command in picocli.codegen.aot.graalvm
Classes in picocli.codegen.aot.graalvm with annotations of type CommandLine.Command Modifier and Type Class Description private static class
DynamicProxyConfigGenerator.App
private static class
JniConfigGenerator.App
private static class
ReflectionConfigGenerator.App
private static class
ResourceConfigGenerator.App
-
Uses of CommandLine.Command in picocli.codegen.docgen.manpage
Classes in picocli.codegen.docgen.manpage with annotations of type CommandLine.Command Modifier and Type Class Description class
ManPageGenerator
Generates AsciiDoc files in a special format that can be converted to HTML, PDF and Unix Man pages.private static class
ManPageGenerator.App
-