Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
}
if (!opts.flags.auth) {
globalFlags['auth'] = {
parse: (b, _) => b,
description: 'Netlify auth token',
input: [],
multiple: false,
type: 'option'
}
}
// enrich with flags here
opts.flags = Object.assign({}, opts.flags, globalFlags)
return require('@oclif/parser').parse(
argv,
Object.assign(
{},
{
context: this
},
opts
)
)
}