civo/cli

When no resources are returned it would be helpful to tell the user what region they are in

Closed this issue · 0 comments

Issue

I am not the first one to be confused that I couldn't find clusters with the CLI that I had created in the UI and thinking it may be an issue with the CLI when I first used it. That's because I was in the wrong region! It took me a while to figure this one out when it could have been easily avoided if the tool provided better feedback

Acceptance criteria

When no resources are found send an info message (to stderr) saying something like this:

% civo kubernetes ls 
No clusters found in region LON1. For a list of regions use the command civo region ls

(Or something like that)

That would indicate to the user on what region they are, so they don't get confused