}
if (links != null) {
for (Link link : links) {
log.debug("Registering link: {}", link.getName());
LinkCommand cmd = new LinkCommand(commandRegistry, link.getTarget());
cmd.setLocation(new CommandLocationImpl(link.getName()));
commandRegistry.registerCommand(cmd);
}
}
if (aliases != null) {
for (Alias alias : aliases) {