arsham / figurine
- вторник, 1 мая 2018 г. в 00:18:07
Go
Print your name in style
Print your name in style
You can download the latest binary from here, or you can compile from source:
$ go get github.com/arsham/figurine
Every time the application is called, it chooses a random font for rendering the message. Pass the message you want to decorate as arguments.
$ figurine Some Text
You can print available fonts:
$ figurine -l
$ figurine -l -s
To set a font:
$ figurine -f "Poison.flf" Some Text
To get a list of available arguments:
$ figurine -h
This application is very light weight, so feel free to add it to your .zshrc/.bashrc file, so each time you open a new shell it shows you a nice message.
See also Rainbow, which is the library that colours the output.
Use of this source code is governed by the Apache 2.0 license. License that can be found in the LICENSE file.