Closed wbreza closed 2 weeks ago
Currently azd template list
lists all 106. Any default grouping we could do? based on languages? or any other category?
@ellismg @kristenwomack @wbreza @Austinauth
Default grouping by language gives better distribution today, with only a few outliers. Grouping by scenario or app topic could be cool, but we would need to make sure the tag exists on each template in order for it to work properly. Currently, filtering by "topics" doesn't yield the same number as the total templates we have in the gallery.
This would also be helpful to have some grouping in the VS Code extension to visually organize or "chunk" the large list into groups. Not knowing what to do with such a long list (esp in VS Code) could stop folks from getting to the next step.
Currently
azd template list
lists all 106. Any default grouping we could do? based on languages? or any other category?@ellismg @kristenwomack @wbreza @Austinauth
Some grouping and UX revision would be good... Lets take that as a separate feature. This gives you better filtering which will give you a smaller list.
May elevate using
sudo
on some platforms and configurations
bash:
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840 --version '' --verbose --skip-verify
pwsh:
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840' -Version '' -SkipVerify -Verbose
PowerShell install
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840' -Version '' -SkipVerify -Verbose;"
MSI install
powershell -c "irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/3840/azd-windows-amd64.msi' -OutFile azd-windows-amd64.msi; msiexec /i azd-windows-amd64.msi /qn"
Currently
azd template list
lists all 106. Any default grouping we could do? based on languages? or any other category? @ellismg @kristenwomack @wbreza @AustinauthSome grouping and UX revision would be good... Lets take that as a separate feature. This gives you better filtering which will give you a smaller list.
Is there a new issue created for this? I was checking out the filter feature and couldn't find it at first because I didn't know about the --filter flag. I was expecting there to be some sort of dynamic filtering, like we have for the long list pattern, so that I could see all the templates but then go into search mode. I worry that the filter flag is not very discoverable, especially for new users, so I'm wondering if we could enable something that the user can be aware of filtering after they run the base command?
I do think that no matter what we do, we have to get a handle on the length of the names to make the template select experience more parsable in the CLI. I also feel like at this point in time, adding the url to the template select has only made the list harder to scan. I would not be opposed to going back to the simple list we originally had (no URL) -- at least until we have a chance rework the pattern.
The new template show <template name>
will give users a way to see the URL. I know its not very discoverable, but at least it wont be broken.
Feature Updates
tags
to JSON structure for AZD template sources--filter, -f
) option toazd template list
--filter
) options toazd init
azd template show
Filter templates during
azd init
When specifying
--filter, -f
argument toazd init
AZD will automatically enter template list mode showing only templates that match the specified tags.Filter templates during
azd template list
When specifying
--filter, -f
argument toazd template list
AZD will filter the template results to show only those templates that have matching tags.Display Tags in
azd template show <template>
Tags will now show along with other template metadata.