@applitools/visual-grid-cli-utils 1.21.30 → 1.21.33
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.
|
|
3
|
+
"version": "1.21.33",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/visual-grid-cli-utils.js",
|
|
6
6
|
"engines": {
|
|
@@ -21,9 +21,7 @@
|
|
|
21
21
|
"start": "scripts/run-visual-grid-cli-utils.js",
|
|
22
22
|
"test:mocha": "mocha --no-timeouts --exit 'test/unit/*.test.js' 'test/it/*.test.js' 'test/e2e/*.test.js'",
|
|
23
23
|
"test": "npm run eslint && npm run test:mocha",
|
|
24
|
-
"eslint": "eslint '**/*.js'"
|
|
25
|
-
"postinstall": "install-yargs-completion",
|
|
26
|
-
"uninstall": "uninstall-yargs-completion"
|
|
24
|
+
"eslint": "eslint '**/*.js'"
|
|
27
25
|
},
|
|
28
26
|
"keywords": [
|
|
29
27
|
"applitools",
|
|
@@ -45,7 +43,6 @@
|
|
|
45
43
|
"@applitools/screenshot-stitching-client": "^8.0.15",
|
|
46
44
|
"@applitools/url-commons": "^1.0.1",
|
|
47
45
|
"@applitools/visual-grid-client": "^15.8.21",
|
|
48
|
-
"completarr": "^0.2.2",
|
|
49
46
|
"debug": "^4.3.1",
|
|
50
47
|
"gunzip-file": "^0.1.1",
|
|
51
48
|
"jszip": "^3.7.1",
|
|
@@ -55,7 +52,7 @@
|
|
|
55
52
|
"puppeteer": "^5.5.0",
|
|
56
53
|
"throat": "^5.0.0",
|
|
57
54
|
"uuid": "^8.3.2",
|
|
58
|
-
"yargs": "^
|
|
55
|
+
"yargs": "^17.1.1-candidate.0"
|
|
59
56
|
},
|
|
60
57
|
"devDependencies": {
|
|
61
58
|
"@applitools/chai-sharp-assert": "^1.1.4",
|
|
@@ -3,9 +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
|
-
|
|
8
|
-
})
|
|
6
|
+
// require('completarr')({
|
|
7
|
+
// name: 'vg-cli',
|
|
8
|
+
// })
|
|
9
9
|
|
|
10
10
|
async function main(argv, {shouldExitOnError = false} = {}) {
|
|
11
11
|
const commandLineOptions = yargs(argv)
|
|
@@ -791,8 +791,10 @@ async function main(argv, {shouldExitOnError = false} = {}) {
|
|
|
791
791
|
type: 'string',
|
|
792
792
|
}),
|
|
793
793
|
)
|
|
794
|
+
.demandCommand()
|
|
795
|
+
.completion('completion')
|
|
794
796
|
.exitProcess(shouldExitOnError)
|
|
795
|
-
.wrap(
|
|
797
|
+
.wrap(yargs.terminalWidth())
|
|
796
798
|
.strict()
|
|
797
799
|
.help()
|
|
798
800
|
|