banner: add moar bling
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-04-19 21:22:00 +02:00
parent aadb409606
commit 733f232c49
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

25
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,
)
}