From a21568aeeed8082ffbc57c5155ee9b6d9fbfb213 Mon Sep 17 00:00:00 2001 From: Hanshal Mehta <122217807+hanshal101@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:27:13 +0530 Subject: [PATCH] feat(cli): add --dry-run to uninstall command Signed-off-by: hanshal101 <122217807+hanshal101@users.noreply.github.com> --- cmd/glasskube/cmd/uninstall.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/glasskube/cmd/uninstall.go b/cmd/glasskube/cmd/uninstall.go index 9e0d712d07..af798f79a8 100644 --- a/cmd/glasskube/cmd/uninstall.go +++ b/cmd/glasskube/cmd/uninstall.go @@ -102,4 +102,5 @@ func init() { uninstallCmd.PersistentFlags().BoolVarP(&uninstallCmdOptions.Yes, "yes", "y", false, "Do not ask for any confirmation") RootCmd.AddCommand(uninstallCmd) + uninstallCmdOptions.DryRunOptions.AddFlagsToCommand(uninstallCmd) }