0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/cli
Andrei Aaron c1dd7878e4 Add a '--verbose' flag to the 'zot images' output
- Show individual layers with size and digest under each image
- Include config digest for each image

See example below
```
IMAGE NAME                        TAG                       DIGEST    CONFIG    LAYERS    SIZE
test/godev                        0.4.7                     7d38d8ca  05b9f86e            519MB
                                                                                f824a027  65MB
                                                                                a98af0f5  52MB
                                                                                ba5b2bc4  163MB
                                                                                58b1ca8d  228MB
                                                                                67d798ee  12MB
test/cdev                         test                      2292b4ae  cf6f6c77            280MB
                                                                                f824a027  65MB
                                                                                a98af0f5  52MB
                                                                                ba5b2bc4  163MB
test/cdev                         0.4.7                     2292b4ae  cf6f6c77            280MB
                                                                                f824a027  65MB
                                                                                a98af0f5  52MB
                                                                                ba5b2bc4  163MB

Note the new layers and config fields will be visible in the json/yaml format regardless of the value of the verbose flag
```
2021-06-24 12:15:25 -07:00
..
cli.go build: add build tags to create customizable binaries 2020-10-22 17:20:07 -07:00
client.go Add a '--verbose' flag to the 'zot images' output 2021-06-24 12:15:25 -07:00
config_cmd.go Raise error when adding a new zot config with an existed saved name 2020-11-04 10:25:34 +02:00
config_cmd_test.go Raise error when adding a new zot config with an existed saved name 2020-11-04 10:25:34 +02:00
cve_cmd.go Add a '--verbose' flag to the 'zot images' output 2021-06-24 12:15:25 -07:00
cve_cmd_test.go test: pull test images from aws container registry 2020-12-21 15:24:26 -08:00
image_cmd.go Add a '--verbose' flag to the 'zot images' output 2021-06-24 12:15:25 -07:00
image_cmd_test.go Add a '--verbose' flag to the 'zot images' output 2021-06-24 12:15:25 -07:00
minimal.go build: add build tags to create customizable binaries 2020-10-22 17:20:07 -07:00
root.go ci/cd:inculde binary type in version information 2021-05-04 13:16:23 -07:00
root_test.go cli: move client-only code out of the server flow 2020-07-14 13:35:56 -04:00
searcher.go Add a '--verbose' flag to the 'zot images' output 2021-06-24 12:15:25 -07:00
service.go Add a '--verbose' flag to the 'zot images' output 2021-06-24 12:15:25 -07:00