multipass icon indicating copy to clipboard operation
multipass copied to clipboard

`multipass find` should discern between regular images and Blueprints

Open townsend2010 opened this issue 3 years ago • 0 comments

The output of multipass find should clearly display images and Blueprints separately. It should also have options to only display images or Blueprints. For example, full output should look like something like:

$ multipass find
Image                       Aliases           Version          Description
snapcraft:core18            18.04             20201111         Snapcraft builder for Core 18
snapcraft:core20            20.04             20210921         Snapcraft builder for Core 20
snapcraft:core22            22.04             20220426         Snapcraft builder for Core 22
snapcraft:devel                               20220722         Snapcraft builder for the devel series
core                        core16            20200818         Ubuntu Core 16
core18                                        20211124         Ubuntu Core 18
18.04                       bionic            20220712         Ubuntu 18.04 LTS
20.04                       focal,lts         20220711         Ubuntu 20.04 LTS
22.04                       jammy             20220712         Ubuntu 22.04 LTS
daily:22.10                 devel,kinetic     20220717         Ubuntu 22.10
appliance:adguard-home                        20200812         Ubuntu AdGuard Home Appliance
appliance:mosquitto                           20200812         Ubuntu Mosquitto Appliance
appliance:nextcloud                           20200812         Ubuntu Nextcloud Appliance
appliance:openhab                             20200812         Ubuntu openHAB Home Appliance
appliance:plexmediaserver                     20200812         Ubuntu Plex Media Server Appliance

Blueprint                                     Version          Description
anbox-cloud-appliance                         latest           Anbox Cloud Appliance
charm-dev                                     latest           A development and testing environment for charmers
docker                                        latest           A Docker environment with Portainer and related tools
minikube                                      latest           minikube is local Kubernetes

For the options, I propose adding --images to show only images and --blueprints to show only Blueprints.

I'm open to suggestions on how this is displayed in human readable form. For json and yaml, it should be pretty straight forward on how the output looks. For csv, we need to give it some thought.

townsend2010 avatar Jul 22 '22 18:07 townsend2010