-
Notifications
You must be signed in to change notification settings - Fork 262
rework template list in 'azd init' for usability #6264
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
base: main
Are you sure you want to change the base?
Conversation
|
@weikanglim , isn't it supposed to exit the iteration with a message? instead of showing a list?
According to the referenced issue |
|
If we are not going to exit to the galleries and keep the interactive experience, it needs to be revised. @SophCarp already has several designs in the referenced issues. The one thing I don't think is helpful is alphabetical order. I would much prefer that we order by template success. Imagining that someone is starting from the list, we should set them up to succeed. If they are truly browsing and comparing, the gallery is the right place for that to see more attributes. |
| choices = append(choices, fmt.Sprintf("%s\t%s\t[%s]", | ||
| choice, | ||
| path, | ||
| strings.Join(languages, ","))) | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like this design is going to cause lots of line wrapping due to template names + URLs + languages unless user is running in a very wide terminal window.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|

Changes include:
Before:

After:

Contributes to #6175