summaryrefslogtreecommitdiff
path: root/internal/flags/version.go
blob: 7e6c50e037b2c868aa66a635c5184370ad9d07f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package flags

import "fmt"

// Version is the current application version.
const Version = "v0.0.0"

const asciiBannerTemplate = ` ___   _____    ___ _     _
|_ _| / / _ \  | _ (_)___| |_ 
 | | / / (_) | |   / / _ \  _|
|___/_/ \___/  |_|_\_\___/\__| NG
               %s`

// PrintVersion prints the banner with the current version.
func PrintVersion() {
	fmt.Printf(asciiBannerTemplate+"\n", Version)
}