{
  "_id": "@iarna/cli",
  "maintainers": [
    {
      "name": "iarna",
      "email": "me@re-becca.org"
    }
  ],
  "keywords": [],
  "dist-tags": {
    "latest": "2.2.0"
  },
  "author": {
    "name": "Rebecca Turner",
    "email": "me@re-becca.org",
    "url": "http://re-becca.org/"
  },
  "_rev": "10-949e0688328f273f34382f460a7433ad",
  "description": "Some simple CLI scaffolding for promise returning applications.",
  "readme": "# @iarna/cli\n\nSome simple CLI scaffolding for promise returning applications.\n\n[![Coverage Status](https://coveralls.io/repos/github/iarna/cli/badge.svg?branch=latest)](https://coveralls.io/github/iarna/cli?branch=latest)\n\n## EXAMPLE\n\n`example.js`\n```js\nrequire('@iarna/cli')(main)\n\nconst util = require('util');\nconst sleep = util.promisify(setTimeout);\n\n// opts will only contain the _ var, for compatibility with yargs\nasync function main (opts, arg1, arg2, arg3) {\n  console.log('Got:', arg1, arg2, arg3)\n  await sleep(40)\n}\n```\n\n## WHAT YOU GET\n\n* Automatic glob parsing on Windows so that your passing `*.foo` works the\n  same on Mac/Linux/Windows.\n* Error detetion and handling:\n  * _exit without resolving warnings_ - If your program finishes without\n    resolving its promises (like if it crashes hard or you process.exit, or\n    you just don't resolve the promise) then we warn about that.\n  * If your entry point function rejects then that's reported with a stack\n    trace (if the rejected value has `.stack`) else with the rejected value\n    and your process will exit with an error code.\n* Optional `yargs` support.  If `yargs` is requirable then it will be used. \n  The wrapper around the main function returns a yargs object, so you can\n  configure it as usual.  The `argv` object is passed in as the first\n  argument of your entry point function.  The rest of your positional\n  arguments are passed in as the remaining function arguments.\n* Optional `update-notifier` support.  If `update-notifier` is requirable\n  then it will be used.  A default update notifier is setup for your app so\n  users will learn about new versions when you publish them.  Your app needs\n  to have a name, version and bin entry in its `package.json`.  (The bin\n  entry needs to have the script using `@iarna/cli` in it for the update\n  notifier to trigger.)\n\n## With Yargs\n\nIf you have yargs installed as a dependency you can customize it further by\nchaining off the require in the usual yargsish way.\n\n`example.js`\n```js\nrequire('@iarna/cli')(main)\n  .boolean('silent')\n  .boolean('exit')\n  .boolean('error')\n  .boolean('reject')\n  .boolean('code50')\n  .version()\n  .help()\n\nconst util = require('util');\nconst sleep = util.promisify(setTimeout);\n\nfunction main (opts, arg1, arg2, arg3) {\n  if (!opts.silent) console.error('Starting up!')\n  console.log('Got:', arg1, arg2, arg3)\n  if (opts.exit) process.exit()\n  if (opts.error) throw new Error('throw')\n  if (opts.reject) return Promise.reject(new Error('reject'))\n  if (opts.code50) return Promise.reject(50)\n  return sleep(10000)\n}\n\n// alternatively use:\n// function main (opts, ...args) {\n```\n\n```console\n$ node example hello there world\nStarting up!\nGot: hello there world\n$ node example hello there world\nStarting up!\nGot: hello there world\n^C\nAbnormal exit: SIGINT\n$ node example --silent hello there world\nGot: hello there world\n$ node example --silent hello there world --exit\nGot: hello there world\nAbnormal exit: Promises not resolved\n$ node example --silent hello there world --error\nGot: hello there world\nError: throw\n    at main (/Users/rebecca/code/cli/example.js:11:25)\n    at Immediate.setImmediate (/Users/rebecca/code/cli/app.js:38:32)\n    at runCallback (timers.js:800:20)\n    at tryOnImmediate (timers.js:762:5)\n    at processImmediate [as _immediateCallback] (timers.js:733:5)\n$ node example --silent hello there world --reject\nGot: hello there world\nError: reject\n    at main (/Users/rebecca/code/cli/example.js:12:42)\n    at Immediate.setImmediate [as _onImmediate] (/Users/rebecca/code/cli/app.js:38:32)\n    at runCallback (timers.js:800:20)\n    at tryOnImmediate (timers.js:762:5)\n    at processImmediate [as _immediateCallback] (timers.js:733:5)\n$ node example --silent hello there world --code50\nGot: hello there world\n$ echo $?\n50\n```\n\n## WHAT ITS NOT\n\nA full framework for writing cli apps.  You'll likely outgrow the error\nhandling pretty fast if this is anything beyond a little one off.  This\nmostly exists to scratch my own itch.  I kept on writing this code and I\nwanted to stop.  =D\n\nIt's designed to be only be as heavy as it needs to be.  It only has one\ndirect dependency, but it can provide enhanced functionality if you depend on\n`yargs` or `update-notifier`.\n\n## USAGE\n\n### require('@iarna/cli')(entryPointFunction) → [yargs]\n\nThe module itself exports a function that you need to call with the name of\nyour main function.  Your main function is like `main` in C, it's the entry\npoint for your program.  It needs to return a promise that resolves when\nyour program completes.\n\nThe return value from the call is, if you have `yargs` installed, a `yargs`\nobject you can use to configure what options your script takes. If you\ndon't have yargs installed then it's a proxy that throws if you try to do\nanything with it.\n\nYour entry point function can be named anything, but it needs to return a\npromise and it takes arguments like this:\n\n`main(opts, arg1, arg2, …, argn) → Promise`\n\nIf you have `yargs` installed then the `opts` argument is `yargs.argv`\nand the additional arguments are from `argv._`, so `arg1 === argv._[0]`,\n`arg2 === argv._[1]` and so on.\n\nIf you don't have `yargs` installed then `opts` argument is an object with\nan `_` property containing all arguments, for compatibility with the `yargs`\nmode.  As with that mode `arg1 === argv._[0]`, `arg2 === argv._[1]` and so\non.\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/iarna/cli.git"
  },
  "users": {
    "iarna": true,
    "flumpus-dev": true
  },
  "bugs": {
    "url": "https://github.com/iarna/cli/issues"
  },
  "license": "ISC",
  "versions": {
    "1.0.0": {
      "name": "@iarna/cli",
      "version": "1.0.0",
      "keywords": [],
      "author": {
        "url": "http://re-becca.org/",
        "name": "Rebecca Turner",
        "email": "me@re-becca.org"
      },
      "license": "ISC",
      "_id": "@iarna/cli@1.0.0",
      "maintainers": [
        {
          "name": "iarna",
          "email": "me@re-becca.org"
        }
      ],
      "dist": {
        "shasum": "c1534695175fb2f0305161cd532105f700e32487",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@iarna/cli/-/cli-1.0.0.tgz",
        "integrity": "sha512-QdxP5VmpqaOgdezSlFDyhfVBfo34tt4KdAzjIy4HS94IrtHq7OK1Ad5PsttY50NfqZ4SA/f2M7C0mEGaYqg1BQ==",
        "signatures": [
          {
            "sig": "MEUCIQCZVfWFtvBHCypZNzhsDpCaMvypqjFgETDn1CxeooergwIgD9y/zP7aAvNPXXw5kiEKPlzkO2jfe3pJESV7f4Q2h8M=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "app.js",
      "files": [
        "app.js"
      ],
      "gitHead": "deb4c26f6619e39cbdbde3387ba9cfbb233b93c0",
      "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1"
      },
      "_npmUser": {
        "name": "iarna",
        "email": "me@re-becca.org"
      },
      "_npmVersion": "5.2.0",
      "description": "Some simple CLI scaffolding for promise returning applications.",
      "directories": {},
      "_nodeVersion": "8.1.4",
      "dependencies": {
        "yargs": "^8.0.2",
        "signal-exit": "^3.0.2",
        "update-notifier": "^2.2.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/cli-1.0.0.tgz_1500156838078_0.5926348359789699",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.1.0": {
      "name": "@iarna/cli",
      "version": "1.1.0",
      "keywords": [],
      "author": {
        "url": "http://re-becca.org/",
        "name": "Rebecca Turner",
        "email": "me@re-becca.org"
      },
      "license": "ISC",
      "_id": "@iarna/cli@1.1.0",
      "maintainers": [
        {
          "name": "iarna",
          "email": "me@re-becca.org"
        }
      ],
      "homepage": "https://github.com/iarna/cli#readme",
      "bugs": {
        "url": "https://github.com/iarna/cli/issues"
      },
      "dist": {
        "shasum": "c39e48b4de732ebc0a46863982cbe8028df0df9f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@iarna/cli/-/cli-1.1.0.tgz",
        "integrity": "sha512-27t1fRiZUlMpaKo06A7w3LdMFvhTRz3zZJ1suA+8CoF2dkg9T6gVBZB8szBUovpqpaMDap+J7YiBvs2G/VWw9A==",
        "signatures": [
          {
            "sig": "MEUCIQD93FUui8rU+/K/OLE6mpuXGOsgoxDIpWPHZPzMvYS39wIgc0TwmMYh3Sye6t4Nta0DJpOrv7CSh0Sr2q556vOidwQ=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "app.js",
      "files": [
        "app.js"
      ],
      "gitHead": "fadf2cc6275e937a5ddfa8d8a354be1a4e3d7d75",
      "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1"
      },
      "_npmUser": {
        "name": "iarna",
        "email": "me@re-becca.org"
      },
      "repository": {
        "url": "git+https://github.com/iarna/cli.git",
        "type": "git"
      },
      "_npmVersion": "5.2.0",
      "description": "Some simple CLI scaffolding for promise returning applications.",
      "directories": {},
      "_nodeVersion": "8.1.4",
      "dependencies": {
        "yargs": "^8.0.2",
        "signal-exit": "^3.0.2",
        "update-notifier": "^2.2.0"
      },
      "devDependencies": {},
      "_npmOperationalInternal": {
        "tmp": "tmp/cli-1.1.0.tgz_1500173822453_0.7932127849198878",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.2.0": {
      "name": "@iarna/cli",
      "version": "1.2.0",
      "keywords": [],
      "author": {
        "url": "http://re-becca.org/",
        "name": "Rebecca Turner",
        "email": "me@re-becca.org"
      },
      "license": "ISC",
      "_id": "@iarna/cli@1.2.0",
      "maintainers": [
        {
          "name": "iarna",
          "email": "me@re-becca.org"
        }
      ],
      "homepage": "https://github.com/iarna/cli#readme",
      "bugs": {
        "url": "https://github.com/iarna/cli/issues"
      },
      "dist": {
        "shasum": "0f7af5e851afe895104583c4ca07377a8094d641",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@iarna/cli/-/cli-1.2.0.tgz",
        "integrity": "sha512-ukITQAqVs2n9HGmn3car/Ir7d3ta650iXhrG7pjr3EWdFmJuuOVWgYsu7ftsSe5VifEFFhjxVuX9+8F7L8hwcA==",
        "signatures": [
          {
            "sig": "MEQCIAx3p7ltdBMsefBp1cFLOhZrrSFTxgPiY1liTq4VaEI/AiBa7WuXN/a5XiFekYI7cP6s8Tc2IW+7sfYqtICz55P4AQ==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "app.js",
      "files": [
        "app.js"
      ],
      "gitHead": "35eb84e40cf269da67e45fe31a4da6141462653c",
      "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1"
      },
      "_npmUser": {
        "name": "iarna",
        "email": "me@re-becca.org"
      },
      "repository": {
        "url": "git+https://github.com/iarna/cli.git",
        "type": "git"
      },
      "_npmVersion": "5.4.0",
      "description": "Some simple CLI scaffolding for promise returning applications.",
      "directories": {},
      "_nodeVersion": "8.3.0",
      "dependencies": {
        "yargs": "^8.0.2",
        "signal-exit": "^3.0.2",
        "update-notifier": "^2.2.0"
      },
      "devDependencies": {},
      "_npmOperationalInternal": {
        "tmp": "tmp/cli-1.2.0.tgz_1504313736400_0.23531205276958644",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.0": {
      "name": "@iarna/cli",
      "version": "2.0.0",
      "keywords": [],
      "author": {
        "url": "http://re-becca.org/",
        "name": "Rebecca Turner",
        "email": "me@re-becca.org"
      },
      "license": "ISC",
      "_id": "@iarna/cli@2.0.0",
      "maintainers": [
        {
          "name": "iarna",
          "email": "me@re-becca.org"
        }
      ],
      "homepage": "https://github.com/iarna/cli#readme",
      "bugs": {
        "url": "https://github.com/iarna/cli/issues"
      },
      "dist": {
        "shasum": "c77d9bdb6abd04549a69e0f347a24ca26866ea8e",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@iarna/cli/-/cli-2.0.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-kfewtgihDKSQVEjn19fXAc7UoomcZ2lm7wNbN22BFRURn5muid79OXUquqdtAdnaulrckZLEObXiYT76ZT1naA==",
        "signatures": [
          {
            "sig": "MEYCIQDLz5watK9c9hVGyxVwmyiHcPTCAdnMUIA88QQOh+WrnAIhAIOG9P23H3GR03t1kXZp8LaoY8K5g9QCphkV3x2gYbGh",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 14909,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGiunCRA9TVsSAnZWagAAG1oP/18zz1Pe3JpO/fxGxgv2\ntmBqdug7K5f0BUmF7SOKLtFM5lXolgmjYxDyW1WL5w41u67VTY/+SVVQsmzw\n7D+jFvqyaEPYHECYf4sr4CuvIkXNbKPbe9xVIao5QFoDFkACSJxEeytw6SbF\nh9sX3trnvhzmolzfP1h5aNtdLRu4cjGfSd9iNGtMqjxeZ+qbwDm85xJChA5P\nNJPYQfNPNzzIlUtXhsOGC798ywTsqZhm+PmTwEYZ2WTsujGuzlLDc4YB9zrb\n4tPQaituzv1LgIDs5K1DG3KGPzWxy6TS03lijaXhdakXSQ4oufCgJo22qF8L\nXn/L5fCHFM41W0W7SnJGxnDdTKHZtQLclIh7otqYV+jNEIll8pTQAqWVHV2O\nNM+ak2wRlZy2cV0Udnx8G3F2GtA4rL7s2/otGoJaKrLoCe8+juwk38bFoxco\ncz/bH7Qp/GkIHo4B5B/F4qcWpfkWBF9R/GKOddulMY4gDF8+iepamfIvhwdn\nFfP7tp/zD64TRAl8FNHCoVKzZtHoeYPqOwXDqN8+SnHXwUoNplrbInmpFUgk\nthS9b7txo//eT1d6cNBy8FoXDJL5m85Qghe2kDuF044otsdPpv3uaWEyFqhd\nrHJymMqHLPuJpaHxjPfAlYql+usTjEB0ex0YaYRC17zjxuUG37Y+Kyk+0yUe\n5bQH\r\n=o9Wu\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "app.js",
      "files": [
        "app.js"
      ],
      "gitHead": "5fcfab67ff2a3a077c199e6fbd688a5d21533b12",
      "scripts": {
        "test": "tap --100 test/scenarios.js"
      },
      "_npmUser": {
        "name": "iarna",
        "email": "me@re-becca.org"
      },
      "repository": {
        "url": "git+https://github.com/iarna/cli.git",
        "type": "git"
      },
      "_npmVersion": "5.6.0",
      "description": "Some simple CLI scaffolding for promise returning applications.",
      "directories": {},
      "_nodeVersion": "8.9.4",
      "dependencies": {
        "signal-exit": "^3.0.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^12.0.1",
        "glob": "^7.1.2",
        "yargs": "^8.0.2",
        "@perl/qr": "^1.2.0",
        "@perl/qx": "^1.0.2",
        "update-notifier": "^2.2.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/cli_2.0.0_1528441767056_0.5829210466535097",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.1": {
      "name": "@iarna/cli",
      "version": "2.0.1",
      "keywords": [],
      "author": {
        "url": "http://re-becca.org/",
        "name": "Rebecca Turner",
        "email": "me@re-becca.org"
      },
      "license": "ISC",
      "_id": "@iarna/cli@2.0.1",
      "maintainers": [
        {
          "name": "iarna",
          "email": "me@re-becca.org"
        }
      ],
      "homepage": "https://github.com/iarna/cli#readme",
      "bugs": {
        "url": "https://github.com/iarna/cli/issues"
      },
      "dist": {
        "shasum": "7ba8f72119aaeec805e86a88952cc51421db2ab5",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@iarna/cli/-/cli-2.0.1.tgz",
        "fileCount": 4,
        "integrity": "sha512-FMQNnzgDBFgEkP2oaMFzdVbycFTP2fdvjgpxjzmcPjpqwU1cnuuUfSV5prcQ28KDk2BX2CTP2l5TQaa6U/3M5w==",
        "signatures": [
          {
            "sig": "MEYCIQC/dN2H3KjwbKmLzxpi5W5gbVqzbIR8gO2ssLcRC6GGgQIhAKLOa/bHLMZ66CwlLBv3A2UbE0fewgpHpCuFZIFkkPqK",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 9704,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGjgZCRA9TVsSAnZWagAAbqYP/iloA54BxfOlPnl78vka\nGS3xuVYWCi5BmdmrVFgLmmQPdweqW0sZfhZk9UDA9NzUlH0DMGlU7z3xNn4D\n6HA1N7WrSYD++9etc+Am5DAsX+ZOyzBqztZDeuyxbjC7gvxKBF/1XWfhyphS\n2kafhIdV9LjLKG9TuBtZzPB/JlUl+jmyUOxUe3kcsuRTy2HrJBdg3iyYBTRy\nbYxAYVL7Yahju2H+A6PIICh2rmVlb4wgJRHca+SwegAiHEYSLI5yfPafELNa\na2y407YBeYEfSlYSun0r5frUm526hIKrb5K09WIYLEgvrxITK9YXe2L6WjQD\n5+DKUAx2K2i8jsqqNvHUYNO8DiV4kHNXHkE0LBvOIPvZ5Io5o/UF+8q75M1P\nkpYpPjGwDjOHmdryfbp0muRdd5U1oL/z19amQUfNgSOOZ3BPfFeOWNJ29lav\nYobiqN7Vh3zcj8QrmKZN0olq/ngvNH1yeJOidlFHHR4MJXkJbY3srikCriqk\n0DxGh7/RwxFa6OxiHq36a2bTq3jFJ0Ej7DDMH6wznzhSFQFTuKI/yle9ZAoP\nS9rbd5onivNrKLav6j/dR5ikt6Wte/IyBuzb+IOynC8kYXhEd0/g3RZUGgd1\nOp6RyOHqLzWULMOeJftD5xTnlD56D3ABmg3hVvxHI7ZhOpCVqsv9ra7vF822\nmyTe\r\n=Lr42\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "app.js",
      "files": [
        "app.js"
      ],
      "gitHead": "810365aa2fd9cd09d266dacb9ad1fed15016e859",
      "scripts": {
        "test": "tap --100 test/scenarios.js"
      },
      "_npmUser": {
        "name": "iarna",
        "email": "me@re-becca.org"
      },
      "repository": {
        "url": "git+https://github.com/iarna/cli.git",
        "type": "git"
      },
      "_npmVersion": "6.1.0",
      "description": "Some simple CLI scaffolding for promise returning applications.",
      "directories": {},
      "_nodeVersion": "10.4.0",
      "dependencies": {
        "signal-exit": "^3.0.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^12.0.1",
        "glob": "^7.1.2",
        "yargs": "^8.0.2",
        "@perl/qr": "^1.2.0",
        "@perl/qx": "^1.0.2",
        "update-notifier": "^2.2.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/cli_2.0.1_1528444953114_0.1953496965815289",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.2": {
      "name": "@iarna/cli",
      "version": "2.0.2",
      "keywords": [],
      "author": {
        "url": "http://re-becca.org/",
        "name": "Rebecca Turner",
        "email": "me@re-becca.org"
      },
      "license": "ISC",
      "_id": "@iarna/cli@2.0.2",
      "maintainers": [
        {
          "name": "iarna",
          "email": "me@re-becca.org"
        }
      ],
      "homepage": "https://github.com/iarna/cli#readme",
      "bugs": {
        "url": "https://github.com/iarna/cli/issues"
      },
      "dist": {
        "shasum": "2c25baa14f3c2822d6428685e1af4785aee2d930",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@iarna/cli/-/cli-2.0.2.tgz",
        "fileCount": 4,
        "integrity": "sha512-TE2LQg/im7auONcvi1E2wZbylQienW+Wr7BzHG0FIzfqNA95tzUVODV9H8u3pJVXEbspgoeHDY92p33Hw3R60A==",
        "signatures": [
          {
            "sig": "MEQCIDBLwrw/7AIuSMzCGafiDiyONCS9jGWg8po/fm5EqZRdAiB+YvtP8UbLDRDIswWZ3mSoWGEthp1M0mKcV3uHxL78hw==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 9854,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHke6CRA9TVsSAnZWagAADPkP/AiFF5A7FUMjYf/9UCPk\nPI7Le0xgE18xTYdDoVBseNZ1O66RYqdaiLHAWA7JeOFFgOLkGQu2ghHnPvst\ndIQb6RDQEG7TNj4x/246zIwXqavY+srfmDBi2tgn4uLJVa+S4AACjO/56vQv\nzao0su6AVT+xGmjw0haukwJetrgySVGLv2wlxcjCP+TjMC3HyoKL6HdXabMM\nJ6/QQt1ODDbBi9BkhK8FI5Uigp8f6jiX0aIImT4a2k2rFpo5UgIsXX2KyMBH\nS5XKcQx1mS8j15S3ra0Mt3rlCE1C6oW0EgYL1r/iYbBtGPNgcTy0OULG3nT4\nuTH6b0RGpzavdWDFjS8EtUFvEm7W9kUADpWGYnO7d2jFcTUz+hfSLb+M8rT2\n0yB9zjIEd9xWDGUBCDP9zFZOg3giLXMgG0AXzM0zxiO89M/gtWlPC3OCYXE/\nk2AuLD+rJ3HLolRXzq+i1V052pHqud/LYOgPNyn21dvgJKGfr74TVafl3AqG\nyjwsWSY6s8mNLgxd+C1zZEucxQRznClNVHvpaHk4ZhkdkCC1c3pD6J5PCYzl\nO4Os1REd7AxT+qEpQ/qxntLMoKPQ9c7pcqiyStlWjzymM69tIdmrCGKLDuW1\nCcb1uD+aLa+hCFawwhVXF7DlM8ZufBknv6jw7NAaAqoEavtGVGwdJ2HHhT25\n3ikI\r\n=8okt\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "app.js",
      "files": [
        "app.js"
      ],
      "gitHead": "d058447dd4401d424c4d76bcc11186d0ddb05adc",
      "scripts": {
        "test": "tap --100 test/scenarios.js"
      },
      "_npmUser": {
        "name": "iarna",
        "email": "me@re-becca.org"
      },
      "repository": {
        "url": "git+https://github.com/iarna/cli.git",
        "type": "git"
      },
      "_npmVersion": "6.1.0",
      "description": "Some simple CLI scaffolding for promise returning applications.",
      "directories": {},
      "_nodeVersion": "9.3.0",
      "dependencies": {
        "signal-exit": "^3.0.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^12.0.1",
        "glob": "^7.1.2",
        "yargs": "^8.0.2",
        "@perl/qr": "^1.2.0",
        "@perl/qx": "^1.0.2",
        "update-notifier": "^2.2.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/cli_2.0.2_1528711089967_0.40584147481827637",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.1.0": {
      "name": "@iarna/cli",
      "version": "2.1.0",
      "keywords": [],
      "author": {
        "url": "http://re-becca.org/",
        "name": "Rebecca Turner",
        "email": "me@re-becca.org"
      },
      "license": "ISC",
      "_id": "@iarna/cli@2.1.0",
      "maintainers": [
        {
          "name": "iarna",
          "email": "me@re-becca.org"
        }
      ],
      "homepage": "https://github.com/iarna/cli#readme",
      "bugs": {
        "url": "https://github.com/iarna/cli/issues"
      },
      "dist": {
        "shasum": "f830356d54c72c804bd7afc43999de31e40fc3d6",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@iarna/cli/-/cli-2.1.0.tgz",
        "fileCount": 4,
        "integrity": "sha512-rvVVqDa2g860niRbqs3D5RhL4la3dc1vwk+NlpKPZxKaMSHtE2se6C2x8NeveN+rcjp3/686X+u+09CZ+7lmAQ==",
        "signatures": [
          {
            "sig": "MEQCIDG8p+ehtpDc2s7V9TTWbO7SJW/cTVDxLiPyFE9eDbP1AiAOeqLOewxhEfDnl9bvx3pMrxJqNAgaRWRZs9OTNUbGYQ==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 10258,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdISbZCRA9TVsSAnZWagAAxHsP/iudvXst2Uw37YsJq7lf\nZx3B0CugJqahc2yaXkkVlPKpc0Eh/e5SiCqYL48hdi9H+EFUkQt/uEdtAl0B\nrh6DQpttcZd0JtAa99BWZU//gXg8i0Ew/XJ+GjGodtXVz95W7Xv6VepBPOxJ\nqCYZx34wYEQoohhnDCsYD6O9e7S55EJwRRTrSbEZeZeqgl8M4PUlbVlEewX6\nolNUJ2FliylJx8IDfVLS5bTRT7p+tBeJtUBuhCMBgBITMcqDzeFnNCrdxjoB\ngR7JZqteotPr1bivAvWWqJxKljwP+A1Pv+48S7LYY6UH60nML+GdpffNuGXy\nIxk3MP90m125swaZ+93Xk8NwPlvNE8H3FXLstWRugU6aP0ENlWJZkzRaTuad\nG0R0HYQclCCAKTkq+TBcVyuCcOhb76ETiC1NX1kuhuOdVvPW7h3QJPYALW3z\nJuBy131ACQULUQGsBuwbP74EBLfijw9TABnayI+JLTXW0uyHzj3hDaQ6cRM7\n24xnsg+KtXgK9LL0Qp011pGmQv8DYnpEb3/eXOkSei/vXnYm5jlANT4IsE0V\njFrkMFRJaWpaNb3XZwLmNwi5KesSLf9kqlaokDiii8qvU2OTexpSY3jEUJdO\nr/sb/wgV36C7umxN53w+lb3hElVfLkfIgqmRmsCRQdPGWZYC2/58lJZgca4k\nWNIG\r\n=GZ5/\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "app.js",
      "gitHead": "b9c53a62aee1a99014dee0813b4870b2d07cdd2f",
      "scripts": {
        "test": "tap --100 test/scenarios.js"
      },
      "_npmUser": {
        "name": "iarna",
        "email": "me@re-becca.org"
      },
      "repository": {
        "url": "git+https://github.com/iarna/cli.git",
        "type": "git"
      },
      "_npmVersion": "6.10.0",
      "description": "Some simple CLI scaffolding for promise returning applications.",
      "directories": {},
      "_nodeVersion": "12.3.1",
      "dependencies": {
        "glob": "^7.1.2",
        "signal-exit": "^3.0.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^12.0.1",
        "yargs": "^8.0.2",
        "@perl/qr": "^1.2.0",
        "@perl/qx": "^1.0.2",
        "require-inject": "^1.4.4",
        "update-notifier": "^2.2.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/cli_2.1.0_1562453720667_0.6529373107418062",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.2.0": {
      "name": "@iarna/cli",
      "version": "2.2.0",
      "description": "Some simple CLI scaffolding for promise returning applications.",
      "main": "app.js",
      "scripts": {
        "test": "tap test/scenarios.js"
      },
      "keywords": [],
      "author": {
        "name": "Rebecca Turner",
        "email": "me@re-becca.org",
        "url": "http://re-becca.org/"
      },
      "license": "ISC",
      "dependencies": {
        "glob": "^7.1.2",
        "signal-exit": "^3.0.2"
      },
      "devDependencies": {
        "@perl/qr": "^1.2.0",
        "@perl/qx": "^1.0.2",
        "minimist": "*",
        "require-inject": "^1.4.4",
        "tap": "*",
        "update-notifier": "*",
        "yargs": "*"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/iarna/cli.git"
      },
      "bugs": {
        "url": "https://github.com/iarna/cli/issues"
      },
      "homepage": "https://github.com/iarna/cli#readme",
      "tap": {
        "plugin": [
          "@tapjs/synonyms"
        ]
      },
      "gitHead": "df09f25a22da86fc4fe71fcaa303d239848d543e",
      "_id": "@iarna/cli@2.2.0",
      "_nodeVersion": "16.20.2",
      "_npmVersion": "8.19.4",
      "dist": {
        "integrity": "sha512-fn1dwhQuWD/OuM/XZhaEy2GOL5Hta/Dis1ZtER/FAe/BKXTHohD4sxPcYQePHUYmrknD+iV+3uic0M8zH/9sJQ==",
        "shasum": "02807c8902fa1b515647c304c9c4d6db8aa9783f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@iarna/cli/-/cli-2.2.0.tgz",
        "fileCount": 4,
        "unpackedSize": 11236,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIAPIt+GkI5Mt6c0Ola22h6hLu4tQixgu0opHoTcO2JXzAiEAkIscrAj9zit3rOSFg+ZG7xMVLAAx9WjWqudj0zwNaHE="
          }
        ]
      },
      "_npmUser": {
        "name": "iarna",
        "email": "me@re-becca.org"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "iarna",
          "email": "me@re-becca.org"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/cli_2.2.0_1729299352300_0.5448747377299388"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "@iarna/cli",
  "time": {
    "created": "2017-07-15T22:13:58.596Z",
    "modified": "2026-05-25T06:26:16.586Z",
    "1.0.0": "2017-07-15T22:13:58.596Z",
    "1.1.0": "2017-07-16T02:57:02.704Z",
    "1.2.0": "2017-09-02T00:55:36.564Z",
    "2.0.0": "2018-06-08T07:09:27.106Z",
    "2.0.1": "2018-06-08T08:02:33.197Z",
    "2.0.2": "2018-06-11T09:58:10.147Z",
    "2.1.0": "2019-07-06T22:55:20.780Z",
    "2.2.0": "2024-10-19T00:55:52.477Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/iarna/cli#readme"
}