Skip to content

Commit

Permalink
add back version init() function
Browse files Browse the repository at this point in the history
  • Loading branch information
mmulholla committed Sep 1, 2022
1 parent 175c2b9 commit 8efd638
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import (
"github.com/spf13/cobra"
)

func init() {
rootCmd.AddCommand(newVersionCmd())
}

func newVersionCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "version",
Expand Down

0 comments on commit 8efd638

Please sign in to comment.