1
0
дзеркало https://github.com/therootcompany/greenlock.js.git synced 2024-11-16 17:29:00 +00:00
greenlock.js/bin/greenlock.js
2019-11-01 23:33:11 -06:00

17 рядки
332 B
JavaScript
Executable File

#!/usr/bin/env node
'use strict';
var args = process.argv.slice(2);
var arg0 = args[0];
//console.log(args);
['certonly', 'add', 'config', 'defaults', 'remove'].some(function(k) {
if (k === arg0) {
require('./' + k);
return true;
}
});
console.error(arg0 + 'command not yet implemented');
process.exit();