🔐 Free SSL, Free Wildcard SSL, and Fully Automated HTTPS for node.js, issued by Let's Encrypt v2 via ACME
https://git.rootprojects.org/root/greenlock.js
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
415 B
20 lines
415 B
#!/usr/bin/env node
|
|
'use strict';
|
|
|
|
var args = process.argv.slice(2);
|
|
var arg0 = args[0];
|
|
//console.log(args);
|
|
|
|
var found = ['certonly', 'add', 'update', 'config', 'defaults', 'remove', 'init'].some(
|
|
function(k) {
|
|
if (k === arg0) {
|
|
require('./' + k);
|
|
return true;
|
|
}
|
|
}
|
|
);
|
|
|
|
if (!found) {
|
|
console.error(arg0 + ': command not yet implemented');
|
|
process.exit(1);
|
|
}
|
|
|