Open andrewwdye opened 1 year ago
Hello 👋, this issue has been inactive for over 9 months. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will engage on it to decide if it is still applicable. Thank you for your contribution and understanding! 🙏
Describe the feature/command for FlyteCTL
For
update
commands likeflytectl update cluster-resource-attribute
it's really easy to inadvertently override existing values. For commands that are mutating/destructive whereupdate
acts as an insert or an upsert, we should require an interactive user ACK or--force
flag to ensure these changes are explicit.For scope, see commands at https://github.com/flyteorg/flytectl/tree/master/cmd/update
Note, this is a breaking change for non-interactive scripts. They would need to be updated to pass
--force
.Expected work
--force
flag to bypass the interactive confirmation in (2). This allows for usage of flytectl in scriptsProvide a possible output or UX example
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?