Matheus Fernandes
8 years ago
No known key found for this signature in database
GPG Key ID: DD07CA4EA7B65C4F
2 changed files with
4 additions and
0 deletions
-
bin/now-deploy.js
-
bin/now.js
|
|
@ -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:')} |
|
|
|
|
|
|
|
|
|
@ -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') |
|
|
|