use of org.jboss.as.cli.impl.aesh.AeshCommands in project wildfly-core by wildfly.
the class PatchHelpTestCase method testCLICommands.
@Test
public void testCLICommands() throws Exception {
CommandContextImpl ctx = (CommandContextImpl) CommandContextFactory.getInstance().newCommandContext();
AeshCommands commands = ctx.getAeshCommands();
CommandContainer<CLICommandInvocation> container = commands.getRegistry().getCommand("patch", "patch");
HelpSupport.checkCommand(null, container.getParser());
for (CommandLineParser<CLICommandInvocation> child : container.getParser().getAllChildParsers()) {
HelpSupport.checkCommand(container.getParser(), child);
}
}
Aggregations