chore: Add version to root cmd
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
4c1a70e412
commit
dbcaca54c7
1 changed files with 3 additions and 2 deletions
|
@ -7,8 +7,9 @@ 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() {
|
||||||
|
|
Loading…
Reference in a new issue