civo / cli

Our Command Line Interface (CLI) for interacting with your Civo resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When no API key is present, the CLI should provide a link to the dashboard for the API key

fernando-villalba opened this issue · comments

Issue

Current error message for when there isn't an API key present is the following:

Error: Creating the connection to Civo's API failed with NoAPIKeySuppliedError: no API Key supplied, this is required

We can do better here, we should provide a link to the exact location where to get the API Key for convenience.

Acceptance Criteria

For example:

Error: Creating the connection to Civo's API failed with NoAPIKeySuppliedError: no API Key supplied, this is required. Go to  https://dashboard.civo.com/security and log in to fetch your API key. Then come back here and enter the command civo apikey save

Or something like that