@applitools/visual-grid-cli-utils 1.21.29 → 1.21.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/visual-grid-cli-utils",
3
- "version": "1.21.29",
3
+ "version": "1.21.32",
4
4
  "description": "",
5
5
  "main": "src/visual-grid-cli-utils.js",
6
6
  "engines": {
@@ -52,7 +52,7 @@
52
52
  "puppeteer": "^5.5.0",
53
53
  "throat": "^5.0.0",
54
54
  "uuid": "^8.3.2",
55
- "yargs": "^16.2.0"
55
+ "yargs": "^17.1.1-candidate.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@applitools/chai-sharp-assert": "^1.1.4",
@@ -3,6 +3,9 @@ const yargs = require('yargs')
3
3
  const {parseBrowser} = require('./commons/parse-browser')
4
4
  const parseRegion = require('./commons/parse-region')
5
5
  const splitApiKey = require('./commons/split-api-key')
6
+ // require('completarr')({
7
+ // name: 'vg-cli',
8
+ // })
6
9
 
7
10
  async function main(argv, {shouldExitOnError = false} = {}) {
8
11
  const commandLineOptions = yargs(argv)
@@ -788,6 +791,7 @@ async function main(argv, {shouldExitOnError = false} = {}) {
788
791
  type: 'string',
789
792
  }),
790
793
  )
794
+ .completion('completion')
791
795
  .exitProcess(shouldExitOnError)
792
796
  .wrap(Math.min(yargs.terminalWidth(), 120))
793
797
  .strict()