}
try
{
CommandLineParser parser = cmd.getParser(shellContext, completeLine == null ? name : completeLine);
CommandAdapter command = new CommandAdapter(shell, cmd);
return new AeshCommandContainer(parser, command);
}
catch (Exception e)
{
throw new RuntimeException("Error while creating parser: " + e.getMessage(), e);
}