-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm before automatically setting a new environment as the default #4832
base: main
Are you sure you want to change the base?
Conversation
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash:
pwsh:
WindowsPowerShell install
MSI install
Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
Fix issue #4800.
Before setting a new environment as the default, we provide a prompt to the user asking if they want to make the new environment the default. As shown in the figure below:
For the

azd env new
command, the design is as follows:For

azd provision -e new-env
, the design is as follows:If the user selects
No
, it do not change the current default environment.@rajeshkamal5050 and @vhvb1989 for notification.