code: function ensureLogin(callback) {
  		exec('"' + getTitaniumPath() + '" status -o json', function(err, stdout, stderr) {
  			if (err) { return callback(err); }
  			if (!JSON.parse(stdout).loggedIn) {
  				grunt.fail.fatal([
  					'You must be logged in to use grunt-titanium. Use `titanium login`.'
  				]);
  			}
  			return callback();
  		});
  	}
docs: ensure appc user is logged in