Skip to content

jeradrutnam/boxen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ballerina Boxen

Boxen allows you draw a stroke line box around the text that you print on the terminal/console.

How to use

  1. First, import the jeradrutnam/boxen package into the Ballerina project.

    import jeradrutnam/boxen;
  2. Then simply use it as below.

    function main(string... args){
        boxen:Boxen boxen = new();
    
        string boxedText = boxen.write("Hello world!");
        io:println(boxedText);
    }
  3. Go to the terminal/console and run the file.

    ballerina run <filename>.bal

License

Licenses this source under the Apache License, Version 2.0 (LICENSE), You may not use this file except in compliance with the License.

About

Package to draw a box around text in Ballerina

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published