INNER CODE UNIT · JavaScript
title
opentimestamps/javascript-opentimestamps · ots-cli.js:16
const title = path[path.length - 1]
let isExecuted = false
// Parse parameters
function collect (val, memo) {
memo.push(val)
return memo
}
program
.version(require('./package.json').version)
.option('-v, --verbose', 'Be more verbose.')
.option('-l, --whitelist <url>', 'Add a calendar to the whitelist.', collect, [])
.option('--no-default-whitelist', 'Do not load the default remote calendar whitelist; ' +
'contact only calendars that have been manually added with --whitelist')
const infoCommand = program