Class CommandFlag<T>

java.lang.Object
org.incendo.cloud.parser.flag.CommandFlag<T>
Type Parameters:
T - Command component type. Void is used when no component is present.

@API(status=STABLE) public final class CommandFlag<T> extends Object
A flag is an optional command component that may have an associated parser, and is identified by its name. Essentially, it's a mixture of a command literal and an optional variable command component.