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)
Tmrw, I am attending OCD's hurdles meet-up and I am hoping to receive some of BOX CLI MAKER stickers as a memento.