From c3dab16432e5c5a8789e5889c0b7005c692a0ea9 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 ^^^ --------------") } }