databricks / click

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

Print nice error if kubectl isn't in path #141

Closed nicklan closed 4 years ago

nicklan commented 4 years ago

Today if kubectl isn't in PATH, we get a nasty error:

thread 'main' panicked at 'failed to execute kubectl: Os { code: 2,
    kind: NotFound, message: "No such file or directory" }'

Should print something more friendly

nicklan commented 4 years ago

fixed by #142