banner
Prints out an ASCII art banner on startup using jfiglet.
dependency
<dependency>
<groupId>org.jooby</groupId>
<artifactId>jooby-banner</artifactId>
<version>1.6.6</version>
</dependency>
usage
package com.myapp;
{
use(new Banner());
}
Prints out the value of application.name
which here is myapp
. Or you can specify the text to prints out:
package com.myapp;
{
use(new Banner("my awesome app"));
}
font
You can pick and use the font of your choice via {@link #font(String)} option:
package com.myapp;
{
use(new Banner("my awesome app").font("slant"));
}
Fonts are distributed within the library inside the /flf
classpath folder. A full list of fonts is available here.