package command import ( "fmt" "github.com/spf13/cobra" ) var UninstallCommand = &cobra.Command{ Use: "uninstall", Short: "Uninstall kurz", Long: "Uninstall kurz completely", Run: uninstallCommand, } func uninstallCommand(c *cobra.Command, args []string) { fmt.Println("Pretend to uninstall kurz completely.") } func init() { kurz.AddCommand(UninstallCommand) }