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

Commit

Permalink
Config messaging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jspspike committed Jul 31, 2020
1 parent 60e1812 commit 494d2a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ lazy_static = "1.4.0"
log = "0.4.11"
notify = "4.0.15"
number_prefix = "0.4.0"
openssl = { version = "0.10.29", optional = true}
openssl = { version = "0.10.29", optional = true }
percent-encoding = "2.1.0"
predicates = "1.0.5"
prettytable-rs = "0.8.0"
Expand Down Expand Up @@ -68,6 +68,7 @@ fs_extra = "1.1.0"
predicates = "1.0.5"

[features]
# OpenSSL is vendored by default, can use system OpenSSL through feature flag.
default = ['openssl/vendored']
sys-openssl = ['openssl']

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ $ wrangler publish

### 🔓 `login`

Authenticate Wrangler with your Cloudflare login. This will configure Wrangler to have access to your Workers and is the alternative to `wrangler config`.
Authenticate Wrangler with your Cloudflare login. This will prompt you with a Cloudflare account login page and is the alternative to `wrangler config`.

### 🔧 `config`

Configure your global Cloudflare user. This is an interactive command that will prompt you for your API token:
Authenticate Wrangler with a Cloudflare API Token. This is an interactive command that will prompt you for your API token:

```bash
wrangler config
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ fn run() -> Result<(), failure::Error> {
.subcommand(
SubCommand::with_name("config")
.about(&*format!(
"{} Set up wrangler with your Cloudflare account",
"{} Authenticate Wrangler by copying in your Cloudflare API Token",
emoji::SLEUTH
))
.arg(
Expand Down Expand Up @@ -617,7 +617,7 @@ fn run() -> Result<(), failure::Error> {
)
.subcommand(
SubCommand::with_name("login")
.about(&*format!("{} Authenticate Wrangler with your Cloudflare login", emoji::UNLOCKED)))
.about(&*format!("{} Authenticate Wrangler by logging in with your Cloudflare account", emoji::UNLOCKED)))
.get_matches();

let mut is_preview = false;
Expand Down

0 comments on commit 494d2a1

Please sign in to comment.