getopts

v2.3.0
Parse CLI arguments.
cli argv flags parse getopts minimist cli-parser

test

c8 twist tests/*.js

build

node -e "fs.writeFileSync('index.cjs',fs.readFileSync('index.js','utf8').replace(/export default/,'module.exports ='),'utf8')"

deploy

npm test && git commit --all --message $tag && git tag --sign $tag --message $tag && git push && git push --tags

release

tag=$npm_package_version npm run deploy && npm publish --access public

prepare

npm run build
npm i getopts

Metadata

  • MIT
  • Whatever
  • Jorge Bucaran
  • released 2/15/2021

Downloads

Maintainers