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