Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Use spacing for information message on wrangler config --api-key #889

Closed
gabbifish opened this issue Nov 20, 2019 · 0 comments · Fixed by #910
Closed

Use spacing for information message on wrangler config --api-key #889

gabbifish opened this issue Nov 20, 2019 · 0 comments · Fixed by #910

Comments

@gabbifish
Copy link
Contributor

This is a small area for improvement. Notice that wrangler config currently produces the following:

$ wrangler config

	 To find your API token, go to https://dash.cloudflare.com/profile/api-tokens
	and create it using the "Edit Cloudflare Workers" template

	 If you are trying to use your Global API Key instead of an API Token
	(Not Recommended), run "wrangler config --api-key".

Enter API token: 
...

But wrangler config --api-key produces

$ wrangler config --api-key
 We don't recommend using your Global API Key! Please consider using an API Token instead. https://support.cloudflare.com/hc/en-us/articles/200167836-Managing-API-Tokens-and-Keys
Enter email: 
...

Let's extend the same formatting logic for the API token case's info messages to the wrangler config --api-key's info messages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant