jitsu
Advanced tools
Comparing version 0.14.0 to 0.15.0
@@ -11,3 +11,4 @@ /* | ||
colors = require('colors'), | ||
flatiron = require('flatiron'); | ||
flatiron = require('flatiron') | ||
godaddy = require('./jitsu/commands/godaddy'); | ||
@@ -117,5 +118,9 @@ var jitsu = module.exports = flatiron.app; | ||
var username = jitsu.config.get('username') || ''; | ||
godaddy.notice(jitsu); | ||
jitsu.log.info('Welcome to ' + 'Nodejitsu'.grey + ' ' + username.magenta); | ||
jitsu.log.info('jitsu v' + jitsu.version + ', node ' + process.version); | ||
jitsu.log.info('It worked if it ends with ' + 'Nodejitsu'.grey + ' ok'.green.bold); | ||
}; | ||
@@ -235,2 +240,10 @@ | ||
// | ||
// Prevent sign-ups on our alias as well as on the regular route. | ||
// | ||
if (command[0] === 'signup' || command[0] === 'users' && command[1] === 'create') { | ||
godaddy.disabled(jitsu, command.join(' ')); | ||
return callback(new Error('Signup is disabled')); | ||
} | ||
jitsu.log.info('Executing command ' + command.join(' ').magenta); | ||
@@ -237,0 +250,0 @@ jitsu.router.dispatch('on', command.join(' '), jitsu.log, function (err, shallow) { |
@@ -29,4 +29,4 @@ /* | ||
'To sign up for Nodejitsu'.cyan, | ||
' jitsu signup', | ||
'To learn more about the GoDaddy acquisition'.cyan, | ||
' jitsu godaddy', | ||
'', | ||
@@ -33,0 +33,0 @@ |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"author": "Nodejitsu Inc. <info@nodejitsu.com>", | ||
@@ -14,0 +14,0 @@ "maintainers": [ |
475848
45
7771