From b726b02ac27413fee6ccc775fa0e3dcf31f6117b Mon Sep 17 00:00:00 2001 From: Jon Allured Date: Fri, 6 Sep 2019 08:40:44 -0500 Subject: [PATCH] Remove extra logs This is nice because it means you can compose this command with pbcopy or use it in a shell script or whatever. --- src/commands/login.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/commands/login.ts b/src/commands/login.ts index dd4d210b..25b6db33 100644 --- a/src/commands/login.ts +++ b/src/commands/login.ts @@ -10,12 +10,9 @@ export default class Login extends Command { help: flags.help({ char: "h" }), } - // static args = [{ name: 'file' }]; - async run() { require("dotenv").config() - // const {args, flags} = this.parse(Auth) const email = await cli.prompt("Email", { type: "normal" }) const password = await cli.prompt("Password", { type: "hide" }) @@ -26,8 +23,6 @@ export default class Login extends Command { password, }) - this.log("-------------- vvv Your access token vvv --------------") this.log(result.access_token) - this.log("-------------- ^^^ Your access token ^^^ --------------") } }