dispatch/commands/clear.go

16 lines
310 B
Go
Raw Normal View History

package commands
import (
2015-12-11 03:35:48 +00:00
"github.com/khlieng/dispatch/Godeps/_workspace/src/github.com/spf13/cobra"
2015-12-11 03:35:48 +00:00
"github.com/khlieng/dispatch/storage"
)
var clearCmd = &cobra.Command{
Use: "clear",
Short: "Clear all application data",
Run: func(cmd *cobra.Command, args []string) {
storage.Clear(appDir)
},
}