@Override
public Result execute(UIExecutionContext context) throws Exception
{
Map<Object, Object> attributeMap = context.getUIContext().getAttributeMap();
CommandInvocation commandInvocation = (CommandInvocation) attributeMap.get(CommandInvocation.class);
CommandResult result = command.execute(commandInvocation);
if (result == CommandResult.FAILURE)
{
return Results.fail("Failure while executing aesh command");
}