upbound / up

The @upbound CLI
Apache License 2.0
49 stars 42 forks source link

Support `up ctx . --short` for space #512

Closed RedbackThomson closed 1 month ago

RedbackThomson commented 1 month ago

Description of your changes

Previously, using up ctx . -s when your kubeconfig is set at a space level would print nothing.

This pull request adds support for up ctx . -s:

I have:

How has this code been tested

$ ./up ctx ..
Kubeconfig context "upbound" switched to: Upbound upbound/upbound-aws-us-east-1/
$ ./up ctx . -s
upbound/upbound-aws-us-east-1