From 494d2a1f1c3f235b0a2359dade98447e032832a5 Mon Sep 17 00:00:00 2001 From: jspspike Date: Fri, 31 Jul 2020 13:59:13 -0500 Subject: [PATCH] Config messaging changes --- Cargo.toml | 3 ++- README.md | 4 ++-- src/main.rs | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fe1828d74..6d2bc64f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -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'] diff --git a/README.md b/README.md index e1cf2d605..e09d1de8f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/main.rs b/src/main.rs index 166fa65b9..97c32c1c3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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( @@ -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;