Java Text Formatter
This is a java maven based application which takes alignment and width from user along with text and then formats the text output on the console
Clone repository or extract Zip file
From the root directory, run:
mvn clean package
java -jar target/formatter.jar
Currently, accepted values are: left, right, center -- not case sensitive
You can run using
java -jar formatter.jar left 20
Post this you will get prompt to Enter Text and then you will get formatted output text