File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,15 @@ function sync_args_from_cmd(args) {
294
294
} else if ( ! lt_config [ "run_settings" ] [ "stop_on_failure" ] ) {
295
295
lt_config [ "run_settings" ] [ "stop_on_failure" ] = false ;
296
296
}
297
+ //Override project name for visual ui
298
+ if ( "vi-project" in args ) {
299
+ if ( lt_config . run_settings . smart_ui != undefined ) {
300
+ lt_config . run_settings . smart_ui . project = args [ "vi-project" ] ;
301
+ } else {
302
+ lt_config . run_settings . smart_ui = { } ;
303
+ lt_config . run_settings . smart_ui . project = args [ "vi-project" ] ;
304
+ }
305
+ }
297
306
298
307
if (
299
308
lt_config . run_settings . project_name &&
Original file line number Diff line number Diff line change @@ -132,6 +132,11 @@ const argv = require("yargs")
132
132
alias : "sys-env-variables" ,
133
133
describe : "system environment variables" ,
134
134
type : "string" ,
135
+ } )
136
+ . option ( "vip" , {
137
+ alias : "vi-project" ,
138
+ describe : "visual ui project name" ,
139
+ type : "string" ,
135
140
} ) ;
136
141
} ,
137
142
function ( argv ) {
You can’t perform that action at this time.
0 commit comments