Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor () {
this.options = new Options()
.addOption('template-require', {
describe: 'require the specified template script',
type: 'string'
})
.addOption('watch', {
alias: 'w',
default: false,
describe: 'enable watch mode',
type: 'boolean'
})
.addOption('preview', {
default: false,
describe: 'open the otherwise headless browser for inspecting the generated HTML document (before it gets converted to PDF)',
type: 'boolean'
})
}