authweiler
Version:
A full-flegded 0Auth2.0 HTTP proxy server
17 lines (16 loc) • 431 B
JavaScript
function logCommandFn() {
return yargs.options({
d: { alias: 'destination', describe: 'log destination(stdout|file|logstash)' },
f: { alias: 'format', describe: 'log output format (syslog|ndjson)' },
t: { alias: 'tail', describe: 'tail log' },
});
}
module.exports = {
name: 'log',
description: 'Configure log output',
commandFn: logCommandFn,
exec: function (argv) {
if(argv.destination) {
}
}
}