Description
The UX here is a confusing. It gives an error message, but the action indicated was successful.
Scenario:
azd init -t <template-name>
- notification that you're not in an empty directory and asks "continue initializing app here?"
- when selecting
no
the response isERROR: confirmation declined
which feels indicated that the action I took (answeringno
) just failed when in fact the intention succeeded
Potential solution:
Provide a positive confirmation that the action of selecting no
was successful and you can cd
to your intended directory or mkdir
for the new app you're initializing.
Brainstorm of potential messages with @SophCarp:
SUCCESS: confirmation declined; app was not initialized
SUCCESS: current directory is not initialized
SUCCESS: confirmation declined
SUCCESS: app was not initialized
cc: @rajeshkamal5050