cleaned volume command

This commit is contained in:
jandre 2021-02-16 23:12:29 +01:00
parent bc36f5a2b7
commit 7f3ee66b1f

View File

@ -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() {