Prevent env deletion if any function exists (#2343)
* Added force deletion flag for env
This commit is contained in:
@@ -72,7 +72,7 @@ func Commands() *cobra.Command {
|
||||
}
|
||||
wrapper.SetFlags(deleteCmd, flag.FlagSet{
|
||||
Required: []flag.Flag{flag.EnvName},
|
||||
Optional: []flag.Flag{flag.NamespaceEnvironment, flag.IgnoreNotFound},
|
||||
Optional: []flag.Flag{flag.NamespaceEnvironment, flag.IgnoreNotFound, flag.EnvForce},
|
||||
})
|
||||
|
||||
listCmd := &cobra.Command{
|
||||
|
||||
Reference in New Issue
Block a user