Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

banner

Prints out an ASCII art banner on startup using jfiglet.

dependency

<dependency>
 <groupId>org.jooby</groupId>
 <artifactId>jooby-banner</artifactId>
 <version>1.0.0.CR8</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.