dispatch/commands/clear.go
Ken-Håvard Lieng eeb45e17c2 Name it
2015-12-11 04:35:48 +01:00

16 lines
310 B
Go

package commands
import (
"github.com/khlieng/dispatch/Godeps/_workspace/src/github.com/spf13/cobra"
"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)
},
}