(env *execenv.Env)
| 7 | ) |
| 8 | |
| 9 | func newWipeCommand(env *execenv.Env) *cobra.Command { |
| 10 | cmd := &cobra.Command{ |
| 11 | Use: "wipe", |
| 12 | Short: "Wipe git-bug from the git repository", |
| 13 | PreRunE: execenv.LoadBackend(env), |
| 14 | RunE: func(cmd *cobra.Command, args []string) error { |
| 15 | return runWipe(env) |
| 16 | }, |
| 17 | } |
| 18 | |
| 19 | return cmd |
| 20 | } |
| 21 | |
| 22 | func runWipe(env *execenv.Env) error { |
| 23 | env.Out.Println("cleaning entities...") |
no test coverage detected