vmware-archive / ktx

manage kubernetes cluster configs
Apache License 2.0
135 stars 24 forks source link

Error when selecting non-existing config #2

Closed chuckha closed 6 years ago

chuckha commented 7 years ago

Right now you can use any string with ktx. It should, at the very least, let you know that that file does not exist.

Example:

 salazar:~ cha$ ktx 
dev    prod   test
 salazar:~ cha$ eval $(ktx hello-world)
hello-world salazar:~ cha$ 

Expected result

 salazar:cluster-config cha$ eval $(ktx hello-world)
File does not exist! Not doing anything.