sensu / sensu-go

Simple. Scalable. Multi-cloud monitoring.
https://sensu.io
MIT License
1.01k stars 177 forks source link

Allow non-interactive sensuctl update with same flags as create #4168

Open mjiderhamn opened 3 years ago

mjiderhamn commented 3 years ago

Feature Suggestion

Please allow non interactive updates via sensuctl, the same way, and with the same flags as create without --interactive.

Context

Currently, in order to make updates non-interactively you need to first delete and then re-create. In the case of handlers for example, this means you are at risk of missing events.

calebhailey commented 3 years ago

@mjiderhamn the "create" terminology in sensuctl is somewhat misleading. You shouldn't need to first delete a resource in order to run sensuctl create again.

Can you try the following:

I hope this helps!