upbound / up

The @upbound CLI
Apache License 2.0
52 stars 41 forks source link

Add `up space list` command #459

Closed RedbackThomson closed 6 months ago

RedbackThomson commented 6 months ago

Description of your changes

Add a new command up space list to the CLI to determine what spaces are available to the current authenticated user.

Example:

$ up space list -a upbound-papper-cutters
NAME                    MODE        PROVIDER   REGION
upbound-legacy-gke      legacy      gcp        us-central-1
upbound-gke-us-west-1   managed     gcp        us-west-1
upbound-aws-us-east-1   managed     aws        us-east-1
attached-pnx7v          connected              

Relies on https://github.com/upbound/up-sdk-go/pull/71

I have:

How has this code been tested