From 1ef17e29865d8fff55a31ca16a9b006e6b0d97bc Mon Sep 17 00:00:00 2001 From: Deluan Date: Sun, 12 Jul 2020 20:44:19 -0400 Subject: [PATCH] Remove version command --- cmd/version.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 cmd/version.go diff --git a/cmd/version.go b/cmd/version.go deleted file mode 100644 index 2b75ba618..000000000 --- a/cmd/version.go +++ /dev/null @@ -1,21 +0,0 @@ -package cmd - -import ( - "fmt" - - "github.com/deluan/navidrome/consts" - "github.com/spf13/cobra" -) - -func init() { - rootCmd.AddCommand(versionCmd) -} - -var versionCmd = &cobra.Command{ - Use: "version", - Short: "Print Navidrome's version", - Long: `All software has versions. This is Navidrome's`, - Run: func(cmd *cobra.Command, args []string) { - fmt.Println(consts.Version()) - }, -}