Package com.hexagonkt.args.formatter
Class CommandFormatter
-
- All Implemented Interfaces:
-
com.hexagonkt.args.formatter.Formatter
public final class CommandFormatter implements Formatter<Command>
summary name, title and description definition Usage detail Commands, options and parameters
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringindentprivate final Formatter<Property<?>>propertyFormatter
-
Constructor Summary
Constructors Constructor Description CommandFormatter(String indent, Formatter<Property<?>> propertyFormatter)
-
Method Summary
Modifier and Type Method Description final StringgetIndent()final Formatter<Property<?>>getPropertyFormatter()Stringsummary(Command component)Stringdefinition(Command component)Stringdetail(Command component)-
-
Method Detail
-
getIndent
final String getIndent()
-
getPropertyFormatter
final Formatter<Property<?>> getPropertyFormatter()
-
definition
String definition(Command component)
-
-
-
-