Open cvan opened 6 years ago
here's a useful snippet for using the cli-autoupdate module:
cli-autoupdate
const AutoUpdate = require('cli-autoupdate'); const update = new AutoUpdate(require('./package.json')); update.on('update', () => console.log('Started update')); update.on('finish', () => console.log('Finished updating'));
here's a useful snippet for using the
cli-autoupdate
module: