greenlock.js-ARCHIVED/bin/greenlock.js

14 lines
281 B
JavaScript
Raw Permalink Normal View History

2019-10-17 11:43:25 +00:00
#!/usr/bin/env node
'use strict';
var args = process.argv.slice(2);
2019-11-01 11:30:49 +00:00
//console.log(args);
//['certonly', 'add', 'config', 'defaults', 'remove']
2019-10-17 11:43:25 +00:00
if ('certonly' === args[0]) {
2019-10-31 22:26:18 +00:00
require('./certonly.js');
return;
2019-10-17 11:43:25 +00:00
}
2019-11-01 11:30:49 +00:00
console.error("command not yet implemented");
process.exit();