// add immediate completer
immediateCommands.add(name);
}
if (!childPrefix.isEmpty()) {
completers.add(new PrefixCompleter(childPrefix, new StringsCompleter(immediateCommands)));
} else {
completers.add(new StringsCompleter(immediateCommands));
}
return Lists.newArrayList(new AggregateCompleter(completers));
}