- Make sure Go is installed on your machine
- Run on terminal
go get github.com/juniorgarcia/ascii-banner-cli && go install github.com/juniorgarcia/ascii-banner-cli
- Be sure that
$GOPATH/bin
is on your$PATH
variable.
The binary will be available under the name ascii-banner-cli
With the CLI installed, you can run ascii-banner-cli -h
to obtain help on how
to use it. It's really simple.
A simple banner could be created like this:
$ ascii-banner-cli -m 'Go rocks!'
╭─────────────╮
│ Go rocks! │
╰─────────────╯
When ran, this CLI will create a config file at ~/.ascii-banner-cli
if this
file does not exist.
It is a simple dotenv file and will contain the default configuration to create your banners. Check this file to see what you can customize.
Since this a repository only to play around and learn more Go, you may open issues to comment about improvements, best code practices, bugs, etc. I'll be glad to talk to you.