@Override
protected void run(Bootstrap<HelloWorldConfiguration> bootstrap,
Namespace namespace,
HelloWorldConfiguration configuration) throws Exception {
final Template template = configuration.buildTemplate();
if (namespace.getBoolean("include-default")) {
LOGGER.info("DEFAULT => {}", template.render(Optional.<String>absent()));
}
for (String name : namespace.<String>getList("names")) {
for (int i = 0; i < 1000; i++) {
LOGGER.info("{} => {}", name, template.render(Optional.of(name)));
Thread.sleep(1000);
}
}
}