mirror of
https://github.com/azure/login.git
synced 2026-06-06 13:47:07 +00:00
16 lines
437 B
JavaScript
16 lines
437 B
JavaScript
#!/usr/bin/env node
|
|
|
|
const proc = require('..')
|
|
const cmd = require('commander')
|
|
|
|
cmd
|
|
.option('-p, --package', 'force appending found packages to `optionalDependencies` in package.json')
|
|
.option('-r, --resolve <string>', 'replace resolved repository')
|
|
.option('-s, --shrink', 'write `npm-shrinkwrap.json` instead of `package-lock.json`')
|
|
.parse(process.argv)
|
|
|
|
proc(cmd, (err) => {
|
|
if (err) {
|
|
console.error('' + err)
|
|
}
|
|
})
|