public class HelpSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NULL_DESCRIPTION |
| Constructor and Description |
|---|
HelpSupport() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkCommand(org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> parent,
org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> child) |
static String |
format(CommandContext ctx,
BufferedReader reader) |
static Class<?> |
getClassFromType(org.jboss.dmr.ModelType mt) |
static String |
getCommandHelp(org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> parser) |
static String |
getLegacyHelpPath(String commandName) |
static String |
getSubCommandHelp(String parentCommand,
org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> parser) |
static void |
printHelp(CommandContext ctx) |
static String |
printHelp(CommandContext ctx,
org.jboss.dmr.ModelNode mn,
OperationRequestAddress address) |
static String |
printHelp(CommandContext ctx,
String filename) |
public static final String NULL_DESCRIPTION
public static void printHelp(CommandContext ctx)
public static String printHelp(CommandContext ctx, String filename)
public static String format(CommandContext ctx, BufferedReader reader) throws IOException
IOExceptionpublic static Class<?> getClassFromType(org.jboss.dmr.ModelType mt)
public static String printHelp(CommandContext ctx, org.jboss.dmr.ModelNode mn, OperationRequestAddress address)
public static String getSubCommandHelp(String parentCommand, org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> parser)
public static String getCommandHelp(org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> parser)
public static void checkCommand(org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> parent, org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> child) throws Exception
ExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.