react/scripts/release-manager/commands/q.js
Paul O’Shannessy cfd782471b [rrm] Lint
2017-01-06 06:00:09 -08:00

15 lines
246 B
JavaScript

/**
* Stupid command to run exit. 'q' is way shorter, like less.
*/
'use strict';
module.exports = function(vorpal, config) {
vorpal
.command('q')
.hidden()
.action((args, cb) => {
vorpal.exec('exit').then(cb);
});
};