Merge pull request #653 from baude/images_json

cmd/kpod/images.go: Add JSON output option
This commit is contained in:
Mrunal Patel 2017-08-13 07:19:04 -07:00 committed by GitHub
commit 4311020c36
6 changed files with 155 additions and 60 deletions

View file

@ -21,9 +21,10 @@ Show image digests
Filter output based on conditions provided (default [])
**--format="TEMPLATE"**
**--format**
Pretty-print images using a Go template. Will override --quiet
Change the default output format. This can be of a supported type like 'json'
or a Go template.
**--noheading, -n**
@ -46,6 +47,10 @@ kpod images --quiet
kpod images -q --noheading --notruncate
kpod images --format json
kpod images --format "{{.ID}}"
## SEE ALSO
kpod(1)