Uses of Annotation Interface
picocli.CommandLine.Command
-
Uses of CommandLine.Command in picocli
Classes in picocli with annotations of type CommandLine.CommandModifier and TypeClassDescriptionprivate static class
CLI command class for generating completion script.static class
Command that generates a Bash/ZSH completion script for its top-level command.static final class
Help command that can be installed as a subcommand on all application commands.Methods in picocli with parameters of type CommandLine.CommandModifier and TypeMethodDescriptionprivate static void
CommandLine.Model.CommandReflection.initSubcommands
(CommandLine.Command cmd, Class<?> cls, CommandLine.Model.CommandSpec parent, CommandLine.IFactory factory, Set<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)