code: function copyHooks() {
  		var src = path.join(__dirname, 'hooks');
  		var dest = path.join(process.env.PWD, 'hooks');
  
  		return pify(fs.copy.bind(fs), Promise)(path.join(__dirname, 'platforms.json'), path.join(dest, 'platforms.json'))
  			.then(function () {
  				memFsEditor.copyTpl(src, dest, options);
  
  				return pify(memFsEditor.commit.bind(memFsEditor))();
  			})
  			.then(function () {
  				// Make all the scripts executable in the Cordova project
  				fs.readdirSync(src).forEach(function (hook) {
  					var hookPath = path.join(dest, hook);
  
  					fs.readdirSync(hookPath).forEach(function (script) {
  						fs.chmodSync(path.join(hookPath, script), '755');
  					});
  				});
  			});
  	}
docs: Copy all the hooks in the `hooks` directory to the `hooks` directory
  of the cordova project.