Skip to content

Commit

Permalink
docs:added a --filter example in Getting metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
d0leh authored Jul 8, 2024
1 parent ed52bd6 commit c0cfc02
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,6 @@ Another example of using **--filter** would be retrieving the container image de

.. code-block:: console
$ cernopendata-client get-metadata --recid 22234 --output-value system_details.container_images
[
{
"name": "docker.io/cmsopendata/cmssw_7_6_7-slc6_amd64_gcc493:latest",
"registry": "dockerhub"
},
{
"name": "gitlab-registry.cern.ch/cms-cloud/cmssw-docker-opendata/cmssw_7_6_7-slc6_amd64_gcc493:latest",
"registry": "gitlab"
}
]
$ cernopendata-client get-metadata --recid 22234 --output-value system_details.container_images --filter registry=dockerhub
{
"name": "docker.io/cmsopendata/cmssw_7_6_7-slc6_amd64_gcc493:latest",
"registry": "dockerhub"
}
$ cernopendata-client get-metadata --recid 22234 --output-value system_details.container_images.name
docker.io/cmsopendata/cmssw_7_6_7-slc6_amd64_gcc493:latest
gitlab-registry.cern.ch/cms-cloud/cmssw-docker-opendata/cmssw_7_6_7-slc6_amd64_gcc493:latest
Expand Down

0 comments on commit c0cfc02

Please sign in to comment.