Package io.airlift.airline
Class Cli.GroupBuilder<C>
java.lang.Object
io.airlift.airline.Cli.GroupBuilder<C>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithCommand(Class<? extends C> command) final Cli.GroupBuilder<C> withCommands(Class<? extends C> command, Class<? extends C>... moreCommands) withCommands(Iterable<Class<? extends C>> commands) withDefaultCommand(Class<? extends C> defaultCommand) withDescription(String description)
-
Field Details
-
name
-
description
-
defaultCommand
-
commands
-
-
Constructor Details
-
GroupBuilder
-
-
Method Details
-
withDescription
-
withDefaultCommand
-
withCommand
-
withCommands
@SafeVarargs public final Cli.GroupBuilder<C> withCommands(Class<? extends C> command, Class<? extends C>... moreCommands) -
withCommands
-