From 733f232c496ffd2e7b90dc7891da99f6901e3ecd Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 19 Apr 2023 21:22:00 +0200 Subject: [PATCH] =?UTF-8?q?banner:=20add=20moar=20bling=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.go | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/run.go b/run.go index 3eb5fe5..4d0dfe8 100644 --- a/run.go +++ b/run.go @@ -21,12 +21,18 @@ import ( ) const ( - banner = ` __ - ____ _________ ___ / /_ - / __ \/ ___/ __ ` + "`" + `__ \/ __/ - / /_/ / /__/ / / / / / /_ - / .___/\___/_/ /_/ /_/\__/ %s Password Compromise Monitoring Tool %s -/_/` + banner = ` +██████╗ ██████╗███╗ ███╗████████╗ +██╔══██╗██╔════╝████╗ ████║╚══██╔══╝ +██████╔╝██║ ██╔████╔██║ ██║ +██╔═══╝ ██║ ██║╚██╔╝██║ ██║ +██║ ╚██████╗██║ ╚═╝ ██║ ██║ +╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ +` + slug = `Password Compromise Monitoring Tool +https://git.dotya.ml/mirre-mt/pcmt +____________________________________ + ` licenseHeader = `pcmt - Password Compromise Monitoring Tool Copyright (C) git.dotya.ml/wanderer @@ -158,5 +164,10 @@ func run() error { } func printHeader() { - fmt.Fprintf(os.Stderr, "%s\n\n%s\n\n", licenseHeader, banner) + fmt.Fprintf(os.Stderr, + "%s\n\n\033[34m%s%s\033[0m\n\n\n", + licenseHeader, + banner, + slug, + ) }