diff --git a/pkg/cmd/volume.go b/pkg/cmd/volume.go index b2a70ff..4cd2e7f 100644 --- a/pkg/cmd/volume.go +++ b/pkg/cmd/volume.go @@ -55,13 +55,6 @@ and usage of using your command. For example: Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.`, - Run: func(cmd *cobra.Command, args []string) { - paths, _ := cmd.Flags().GetStringSlice("path") - tag, _ := cmd.Flags().GetString("tag") - if err := backup.BackupVolume(tag, paths); err != nil { - os.Exit(1) - } - }, } func init() {