@@ -11,92 +11,94 @@ const argv = require("yargs")
11
11
"run" ,
12
12
"run tests on lambdatest" ,
13
13
function ( yargs ) {
14
- return yargs
15
- . option ( "ccf" , {
16
- alias : "cypress-config-file" ,
17
- describe : "path of the config file" ,
18
- type : "string" ,
19
- } )
20
- . option ( "lcf" , {
21
- alias : "lambdatest-config-file" ,
22
- describe : "path of the lambdatest config file" ,
23
- type : "string" ,
24
- } )
25
- . option ( "s" , {
26
- alias : "specs" ,
27
- describe : "path of the spec file or directory or pattern" ,
28
- type : "string" ,
29
- } )
30
- . option ( "env" , {
31
- alias : "env" ,
32
- describe : "environment" ,
33
- type : "string" ,
34
- } )
35
- . option ( "bn" , {
36
- alias : "build-name" ,
37
- describe : "build name" ,
38
- type : "string" ,
39
- } )
40
- . option ( "t" , {
14
+ return (
15
+ yargs
16
+ . option ( "ccf" , {
17
+ alias : "cypress-config-file" ,
18
+ describe : "path of the config file" ,
19
+ type : "string" ,
20
+ } )
21
+ . option ( "lcf" , {
22
+ alias : "lambdatest-config-file" ,
23
+ describe : "path of the lambdatest config file" ,
24
+ type : "string" ,
25
+ } )
26
+ . option ( "s" , {
27
+ alias : "specs" ,
28
+ describe : "path of the spec file or directory or pattern" ,
29
+ type : "string" ,
30
+ } )
31
+ . option ( "env" , {
32
+ alias : "env" ,
33
+ describe : "environment" ,
34
+ type : "string" ,
35
+ } )
36
+ . option ( "bn" , {
37
+ alias : "build-name" ,
38
+ describe : "build name" ,
39
+ type : "string" ,
40
+ } )
41
+ /*.option("t", {
41
42
alias: "tags",
42
43
describe: "build tags",
43
44
type: "string",
44
- } )
45
- . option ( "p" , {
46
- alias : "parallels" ,
47
- describe : "no of parellel sessions" ,
48
- type : "string" ,
49
- } )
50
- . option ( "envs" , {
51
- alias : "envs" ,
52
- describe : "environment variables" ,
53
- type : "string" ,
54
- } )
55
- . option ( "tun" , {
56
- alias : "tunnel" ,
57
- describe : "tunnel" ,
58
- type : "string" ,
59
- } )
60
- . option ( "tname" , {
61
- alias : "tunnel_name" ,
62
- describe : "tunnel name" ,
63
- type : "string" ,
64
- } )
65
- . option ( "brs" , {
66
- alias : "browsers" ,
67
- describe : "browsers to run test format: platform:browser:version" ,
68
- type : "string" ,
69
- } )
70
- . option ( "bi" , {
71
- alias : "build-identifier" ,
72
- describe : "Build Identifier / Build Counter" ,
73
- type : "string" ,
74
- } )
75
- . option ( "if" , {
76
- alias : "ignore_files" ,
77
- describe : "Files to ignore in the project zip" ,
78
- type : "string" ,
79
- } )
80
- . option ( "sync" , {
81
- alias : "sync" ,
82
- describe : "Sync Build" ,
83
- type : "string" ,
84
- } )
85
- . option ( "autostart" , {
86
- alias : "tat" ,
87
- describe : "Tunnel Auto Start" ,
88
- type : "string" ,
89
- } )
90
- . option ( "headless" , {
91
- alias : "headless" ,
92
- describe : "Run in headless mode" ,
93
- type : "boolean" ,
94
- } )
95
- . option ( "net" , {
96
- alias : "network" ,
97
- describe : "Capture Network logs" ,
98
- type : "string" ,
99
- } ) ;
45
+ })*/
46
+ . option ( "p" , {
47
+ alias : "parallels" ,
48
+ describe : "no of parellel sessions" ,
49
+ type : "string" ,
50
+ } )
51
+ . option ( "envs" , {
52
+ alias : "envs" ,
53
+ describe : "environment variables" ,
54
+ type : "string" ,
55
+ } )
56
+ . option ( "tun" , {
57
+ alias : "tunnel" ,
58
+ describe : "tunnel" ,
59
+ type : "string" ,
60
+ } )
61
+ . option ( "tname" , {
62
+ alias : "tunnel_name" ,
63
+ describe : "tunnel name" ,
64
+ type : "string" ,
65
+ } )
66
+ . option ( "brs" , {
67
+ alias : "browsers" ,
68
+ describe : "browsers to run test format: platform:browser:version" ,
69
+ type : "string" ,
70
+ } )
71
+ . option ( "bi" , {
72
+ alias : "build-identifier" ,
73
+ describe : "Build Identifier / Build Counter" ,
74
+ type : "string" ,
75
+ } )
76
+ . option ( "if" , {
77
+ alias : "ignore_files" ,
78
+ describe : "Files to ignore in the project zip" ,
79
+ type : "string" ,
80
+ } )
81
+ . option ( "sync" , {
82
+ alias : "sync" ,
83
+ describe : "Sync Build" ,
84
+ type : "string" ,
85
+ } )
86
+ . option ( "autostart" , {
87
+ alias : "tat" ,
88
+ describe : "Tunnel Auto Start" ,
89
+ type : "string" ,
90
+ } )
91
+ . option ( "headless" , {
92
+ alias : "headless" ,
93
+ describe : "Run in headless mode" ,
94
+ type : "boolean" ,
95
+ } )
96
+ . option ( "net" , {
97
+ alias : "network" ,
98
+ describe : "Capture Network logs" ,
99
+ type : "string" ,
100
+ } )
101
+ ) ;
100
102
} ,
101
103
function ( argv ) {
102
104
require ( "./commands/run" ) ( argv ) ;
0 commit comments