Is your feature request related to a problem? Please describe.
I have automatic upgrades for azure cli enabled ... up to now it happened 3 times to me that the upgrade started in the middle of a batch of commands which were saved as a script. after the upgrade the script did not resume and I had to run it again, and if there were random parts in the script I had to clean up the whole environment. This always happend while using WSL
Describe the solution you'd like
Implement a solution that the cli does not upgrade itself while executing a batch of commands (script)
Is your feature request related to a problem? Please describe.
I have automatic upgrades for azure cli enabled ... up to now it happened 3 times to me that the upgrade started in the middle of a batch of commands which were saved as a script. after the upgrade the script did not resume and I had to run it again, and if there were random parts in the script I had to clean up the whole environment. This always happend while using WSL
Describe the solution you'd like
Implement a solution that the cli does not upgrade itself while executing a batch of commands (script)