imap-notes/main.go

19 lines
310 B
Go

package main
var (
// version of imap-notes being run
version = "dev"
)
func main() {
showVersion := flag.Bool("version", false, "Display the version of minitor and exit")
flag.Parse()
// Print version if flag is provided
if *showVersion {
fmt.Println("imap-notes version:", version)
return
}
}