17 lines
332 B
JavaScript
Executable File
17 lines
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();
|