16 lines
312 B
Go
16 lines
312 B
Go
package commands
|
|
|
|
import (
|
|
"github.com/khlieng/name_pending/Godeps/_workspace/src/github.com/spf13/cobra"
|
|
|
|
"github.com/khlieng/name_pending/storage"
|
|
)
|
|
|
|
var clearCmd = &cobra.Command{
|
|
Use: "clear",
|
|
Short: "Clear all application data",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
storage.Clear()
|
|
},
|
|
}
|