tt icon indicating copy to clipboard operation
tt copied to clipboard

Behavior related to user confirmations for operation varies for different commands

Open elhimov opened this issue 1 year ago • 0 comments

The mentioned differences can be divided into following topics:

  1. Confirmation target restart and kill commands ask for confirmation once and if confirmed apply the corresponding operation for all instances (when target implies multiple instances, like app-target in case of multi-instances application) clean asks confirmation for every single instance implied by target.
  2. Discard reply restart displays text • Restart is cancelled. kill produces no output, just finish the execution. clean displays • instance: cleaning... [ERR] canceled by user after every discarding.
  3. State validation clean only asks for confirmation if an instance is not running, otherwise just skips it with displaying instance `some_instance` must be stopped kill asks for confirmation regardless of instances states.

Consider using the single approach.

elhimov avatar Oct 09 '24 19:10 elhimov