mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-05-03 22:28:33 +00:00
* debug mizu * Update clean.go, cleanRunner.go, and tapRunner.go * Update tapRunner.go * Update cleanRunner.go * Update tapRunner.go Co-authored-by: Rami Berman <rami.berman@up9.com>
21 lines
361 B
Go
21 lines
361 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
"github.com/up9inc/mizu/cli/telemetry"
|
|
)
|
|
|
|
var cleanCmd = &cobra.Command{
|
|
Use: "clean",
|
|
Short: "Removes all mizu resources",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
go telemetry.ReportRun("clean", nil)
|
|
performCleanCommand()
|
|
return nil
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(cleanCmd)
|
|
}
|