cli
cli copied to clipboard
[Feature Request] workflow reset-batch should prompt when using query flag
Is your feature request related to a problem? Please describe.
temporal workflow reset-batch --query "..."
does not prompt the user with a count of workflows that will be affected.
A very open query could affect the whole namespace.
It's very easy to make mistakes here.
Describe the solution you'd like
For most (if not all?) other commands that supports the --query
flag, you're presented with a prompt before running the command.
A prompt similar to those would be ideal, showing the count of workflows affected.
Example from temporal workflow terminate --query "..."
:
Will start a batch job operating on 123 Workflow Executions. Continue? Y/N