imap-notes/main.go

19 lines
310 B
Go
Raw Normal View History

2022-02-09 17:25:37 +00:00
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
}
}