chore: Add version to root cmd

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
Tim Hårek Andreassen 2024-10-26 19:06:26 +02:00
parent 4c1a70e412
commit dbcaca54c7
No known key found for this signature in database
GPG key ID: E59C7734F0E10EB5

View file

@ -7,8 +7,9 @@ import (
)
var rootCmd = &cobra.Command{
Use: "yr",
Short: "yr is CLI tool for weather forecasts",
Use: "yr",
Short: "yr is CLI tool for weather forecasts",
Version: "v0.0.5",
}
func Execute() {