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

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