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 = {
5252 PARALLEL_DESC : "The maximum number of parallels to use to run your test suite" ,
5353 INFO : "Run your tests on BrowserStack." ,
5454 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"
5657 } ,
5758 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"
5962 }
6063}
6164
Original file line number Diff line number Diff line change @@ -62,6 +62,18 @@ var argv = yargs
6262 description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
6363 type : "boolean"
6464 } ,
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+ } ,
6577 } )
6678 . help ( 'help' )
6779 . wrap ( null )
@@ -90,6 +102,18 @@ var argv = yargs
90102 description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
91103 type : "boolean"
92104 } ,
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+ } ,
93117 } )
94118 . help ( 'help' )
95119 . wrap ( null )
@@ -122,6 +146,24 @@ var argv = yargs
122146 describe : Constants . cliMessages . RUN . PARALLEL_DESC ,
123147 type : "number" ,
124148 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
125167 }
126168 } )
127169 . help ( 'help' )
You can’t perform that action at this time.
0 commit comments