databricks / click

The "Command Line Interactive Controller for Kubernetes"
Apache License 2.0
1.49k stars 84 forks source link

Show contexts when none is given #23

Closed coderanger closed 6 years ago

coderanger commented 6 years ago

Rather than an error, it would be nice if ctx with no argument would show the available contexts, either in place of the error or in addition to it.

nicklan commented 6 years ago

This is a good idea. FYI env will show a list of available contexts as well, but having ctx do it is more discoverable.