File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-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 @@ -142,6 +142,10 @@ const argv = require("yargs")
142
142
alias : "legacy-peer-deps" ,
143
143
describe : "force npm install" ,
144
144
type : "bool" ,
145
+ . option ( "vip" , {
146
+ alias : "vi-project" ,
147
+ describe : "visual ui project name" ,
148
+ type : "string" ,
145
149
} ) ;
146
150
} ,
147
151
function ( argv ) {
You can’t perform that action at this time.
0 commit comments