Box CLI Maker
Make Highly Customized Boxes for your CLI
Features
- Make terminal box in 8οΈβ£ inbuilt different style
- Custom Title Positions
- Make your own Box style π¦
- Unicode and Emoji Support π
- Color Support π¨
- Align the text according to the need
- Written in π¬ π΄
Demo Link
It's a library so you can install it via Go
go get github.com/Delta456/box-cli-maker
Link to Code
Delta456
/
box-cli-maker
Make Highly Customized Boxes for CLI
Features
- Make a Terminal Box in 8οΈβ£ inbuilt different styles
- 16 Inbuilt Colors and True Color Support π¨
- Custom Title Positions π
- Make your Terminal Box style π¦
- Support for ANSI, Tabbed, Multi-line and Line Wrapping boxes π
- Align the text according to your needs π
- Unicode, Emoji and Windows Console Support π
- Written in π¬ π΄
Installation
go get github.com/Delta456/box-cli-maker/v2
Usage Tutorial
In main.go
package main
import "github.com/Delta456/box-cli-maker/v2"
func main() {
Box := box.New(box.Config{Px: 2, Py: 5, Type: "Single", Color: "Cyan"})
Box.Print("Box CLI Maker", "Highly Customized Terminal Box Maker")
}
box.New(config Config)
takes Box Config
and returns a Box
from the given Config
.
- Parameters
-
Px
: Horizontal Padding -
Py
: Vertical Padding -
ContentAlign
: Content Alignment inside Box i.e.Center
,Left
andRight
-
Type
: Boxβ¦
-
How I built it
Using Go, VSCode, Terminal etc...
What I learned
- Go Packages work
- Semantic Versioning
- GitHub Releases
- Updating and Optimizing my code
- Making documentation of my code
- much more....
Additional Thoughts / Feelings / Stories
This is my first library that I have ever written!!
Top comments (1)