}
catch (CommandNotFoundException cnfe)
{
// Not a forge command, fallback to aesh command
CommandContainer nativeCommand = aeshCommandRegistry.getCommand(name, completeLine);
AeshUICommand aeshCommand = new AeshUICommand(nativeCommand);
SingleCommandController controller = commandFactory.createSingleController(shellContext, shell, aeshCommand);
try
{
controller.initialize();
}
catch (Exception e)
{
// Do nothing
}
ShellSingleCommand cmd = new ShellSingleCommand(controller, shellContext, getCommandLineUtil());
CommandAdapter commandAdapter = new CommandAdapter(shell, shellContext, cmd);
return new ForgeCommandContainer(shellContext, aeshCommand.getCommandLineParser(), commandAdapter);
}
}