/centre

tiny go app to make centred text in equals signs

Primary LanguageGoDo What The F*ck You Want To Public LicenseWTFPL

Build Status Coverage Status

Tiny go program to generate text centred in = signs.

Each argument is its own piece of text, and specify width with --width <n>

» go get github.com/telyn/centre

» centre "Ingredients" "Precautions" "Method"
========================= Ingredients =========================
========================= Precautions =========================
=========================== Method ============================


» centre -width 32 "Ingredients" "Precautions" "Method"
========================== Ingredients ==========================
========================== Precautions ==========================
============================ Method =============================