authweiler
Version:
A full-flegded 0Auth2.0 HTTP proxy server
18 lines (16 loc) • 401 B
JavaScript
function resourcesCommandFn() {
return yargs.options({
s: { alias: 'add', describe: 'add resource' },
f: { alias: 'list', describe: 'list resources' },
t: { alias: 'remove', describe: 'remove resources' },
});
}
module.exports = {
name: 'resource',
description: 'Manage Resources',
commandFn: resourcesCommandFn,
exec: function (argv) {
if(argv.destination) {
}
}
}