for (Command command : commands) {
String name = command.getName();
if (command instanceof Completable) {
// add nested completers
Completable completable = (Completable) command;
for (Completer completer : completable.getCompleters(childPrefix)) {
completers.add(completer);
}
}
// add immediate completer