Skip to content

Commit

Permalink
feat(cmd/root): Show version in root cmd help text / short description
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Aug 19, 2021
1 parent d9cba1d commit f48e9d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/root/root.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package root

import (
"github.com/sikalabs/slu/version"
"github.com/spf13/cobra"
)

var RootCmdFlagJson bool

var RootCmd = &cobra.Command{
Use: "slu",
Short: "SikaLabs Utils",
Short: "SikaLabs Utils, " + version.Version,
}

func init() {
Expand Down

0 comments on commit f48e9d9

Please sign in to comment.