Skip to content

Commit ae104a7

Browse files
committed
Added help command examples for how to show untagged manifest metadata for a repository.
1 parent 6a1c3ca commit ae104a7

File tree

1 file changed

+6
-0
lines changed
  • src/azure-cli/azure/cli/command_modules/acr

1 file changed

+6
-0
lines changed

src/azure-cli/azure/cli/command_modules/acr/_help.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,12 @@
704704
text: az acr manifest list-metadata -r myregistry -n hello-world
705705
- name: List the metadata of the manifests in the repository 'hello-world'.
706706
text: az acr manifest list-metadata myregistry.azurecr.io/hello-world
707+
- name: List the metadata of all manifests (tagged/untagged) in the repository 'hello-world'.
708+
text: az acr manifest list-metadata -r myregistry -n hello-world --query "[]"
709+
- name: List the metadata of untagged manifests in the repository 'hello-world'.
710+
text: az acr manifest list-metadata -r myregistry -n hello-world --query "[?tags==null]"
711+
- name: List the metadata of untagged manifests by digests for the repository 'hello-world'.
712+
text: az acr manifest list-metadata -r myregistry -n hello-world --query "[?tags==null].digests"
707713
"""
708714

709715
helps['acr manifest update-metadata'] = """

0 commit comments

Comments
 (0)