cleaned volume command
This commit is contained in:
parent
bc36f5a2b7
commit
7f3ee66b1f
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user