File tree Expand file tree Collapse file tree 2 files changed +47
-2
lines changed Expand file tree Collapse file tree 2 files changed +47
-2
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,13 @@ const cliMessages = {
52
52
PARALLEL_DESC : "The maximum number of parallels to use to run your test suite" ,
53
53
INFO : "Run your tests on BrowserStack." ,
54
54
DESC : "Path to BrowserStack config" ,
55
- CONFIG_DEMAND : "config file is required"
55
+ CONFIG_DEMAND : "config file is required" ,
56
+ BUILD_NAME : "The build name you want to use to name your test runs"
56
57
} ,
57
58
COMMON : {
58
- DISABLE_USAGE_REPORTING : "Disable usage reporting"
59
+ DISABLE_USAGE_REPORTING : "Disable usage reporting" ,
60
+ USERNAME : "Your BrowserStack username" ,
61
+ ACCESS_KEY : "Your BrowserStack access key"
59
62
}
60
63
}
61
64
Original file line number Diff line number Diff line change @@ -62,6 +62,18 @@ var argv = yargs
62
62
description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
63
63
type : "boolean"
64
64
} ,
65
+ 'u' : {
66
+ alias : 'username' ,
67
+ describe : Constants . cliMessages . COMMON . USERNAME ,
68
+ type : "string" ,
69
+ default : undefined
70
+ } ,
71
+ 'k' : {
72
+ alias : 'key' ,
73
+ describe : Constants . cliMessages . COMMON . ACCESS_KEY ,
74
+ type : "string" ,
75
+ default : undefined
76
+ } ,
65
77
} )
66
78
. help ( 'help' )
67
79
. wrap ( null )
@@ -90,6 +102,18 @@ var argv = yargs
90
102
description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
91
103
type : "boolean"
92
104
} ,
105
+ 'u' : {
106
+ alias : 'username' ,
107
+ describe : Constants . cliMessages . COMMON . USERNAME ,
108
+ type : "string" ,
109
+ default : undefined
110
+ } ,
111
+ 'k' : {
112
+ alias : 'key' ,
113
+ describe : Constants . cliMessages . COMMON . ACCESS_KEY ,
114
+ type : "string" ,
115
+ default : undefined
116
+ } ,
93
117
} )
94
118
. help ( 'help' )
95
119
. wrap ( null )
@@ -122,6 +146,24 @@ var argv = yargs
122
146
describe : Constants . cliMessages . RUN . PARALLEL_DESC ,
123
147
type : "number" ,
124
148
default : undefined
149
+ } ,
150
+ 'u' : {
151
+ alias : 'username' ,
152
+ describe : Constants . cliMessages . COMMON . USERNAME ,
153
+ type : "string" ,
154
+ default : undefined
155
+ } ,
156
+ 'k' : {
157
+ alias : 'key' ,
158
+ describe : Constants . cliMessages . COMMON . ACCESS_KEY ,
159
+ type : "string" ,
160
+ default : undefined
161
+ } ,
162
+ 'b' : {
163
+ alias : 'build-name' ,
164
+ describe : Constants . cliMessages . RUN . BUILD_NAME ,
165
+ type : "string" ,
166
+ default : undefined
125
167
}
126
168
} )
127
169
. help ( 'help' )
You can’t perform that action at this time.
0 commit comments