From 13ac7c15d55ad80e26ddcc918cb08e04a502c187 Mon Sep 17 00:00:00 2001 From: cdaringe Date: Thu, 9 Mar 2017 23:42:10 -0800 Subject: [PATCH] fix(cli): token usage --- lib/middleware/help.js | 1 + lib/surge.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/middleware/help.js b/lib/middleware/help.js index bf47f1b..9d677f8 100644 --- a/lib/middleware/help.js +++ b/lib/middleware/help.js @@ -26,6 +26,7 @@ module.exports = function(req, next){ .log(" surge login only performs authentication step") .log(" surge list list all domains you have access to") .log(" surge teardown tear down a published project") + .log(" surge token display authentication token") .log() .log(" Guides:".grey) .log(" Getting started " + "surge.sh/help/getting-started-with-surge".underline.grey) diff --git a/lib/surge.js b/lib/surge.js index 2862f9d..b69d5ee 100644 --- a/lib/surge.js +++ b/lib/surge.js @@ -93,7 +93,7 @@ module.exports = function(config){ var postAuth = hooks.postAuth || stub var onion = [ whitelist, endpoint, pkg, help, version, space, - preAuth, creds, welcome, tokencheck, email, auth, postAuth, + preAuth, creds, welcome, tokencheck, email, postAuth, token, space ] return function(){