Skip to content

Commit

Permalink
Add now login and document now logout
Browse files Browse the repository at this point in the history
  • Loading branch information
matheuss committed May 5, 2017
1 parent a1e5ba0 commit b6dadac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/now-deploy.js
Expand Up @@ -98,6 +98,8 @@ const help = () => {
upgrade | downgrade [plan] Upgrades or downgrades your plan
teams [team] Manages your teams
switch Switches between teams and your account
login Login into your account or creates a new one
logout Logout from your account
${chalk.dim('Options:')}
Expand Down
2 changes: 2 additions & 0 deletions bin/now.js
Expand Up @@ -103,6 +103,8 @@ if (index > -1) {
// rather show the general help and be useful
if (cmd === 'help') {
cmd = 'deploy'
} else if (cmd === defaultCommand && args[0] === 'login') {
args[0] = '--login'
}

const bin = resolve(__dirname, 'now-' + cmd + '.js')
Expand Down

0 comments on commit b6dadac

Please sign in to comment.