1
0
mirror of https://github.com/kubeshark/kubeshark.git synced 2025-05-03 14:18:28 +00:00
kubeshark/cmd/clean.go
M. Mert Yildiran cb60a4cc4c
🔨 Move cli folder contents into project root ()
* Remove `logger` module

* Remove `shared` module

* Move `cli` folder contents into project root

* Fix linter

* Change the module name from `github.com/kubeshark/kubeshark/cli` to `github.com/kubeshark/kubeshark`

* Set the default `Makefile` rule to `build`

* Add `lint` rule

* Fix the linter errors
2022-11-26 01:17:50 +03:00

19 lines
287 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
var cleanCmd = &cobra.Command{
Use: "clean",
Short: "Removes all kubeshark resources",
RunE: func(cmd *cobra.Command, args []string) error {
performCleanCommand()
return nil
},
}
func init() {
rootCmd.AddCommand(cleanCmd)
}