CommandLineUtil.populateUIInputs(cl, currentCommand.getContext(), registry);
currentCommand.getContext().setConsoleOutput(output);
// so now the options are parsed and added to the uicontext of that command
// try to get next command in the wizard
UIWizard wizard = (UIWizard) wizardSteps.get(0).getCommand();
NavigationResult navResult = wizard.next(wizardSteps.get(0).getContext());
// we have another step, lets add it to the list
// this will be processed next
if (navResult != null)
{
Object cmd = navResult.getNext();