Skip to content

Commit

Permalink
Remove extra logs
Browse files Browse the repository at this point in the history
This is nice because it means you can compose this command with pbcopy
or use it in a shell script or whatever.
  • Loading branch information
jonallured committed Sep 6, 2019
1 parent 1afe033 commit b726b02
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/commands/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" })

Expand All @@ -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 ^^^ --------------")
}
}

0 comments on commit b726b02

Please sign in to comment.