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) {
294294 } else if ( ! lt_config [ "run_settings" ] [ "stop_on_failure" ] ) {
295295 lt_config [ "run_settings" ] [ "stop_on_failure" ] = false ;
296296 }
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+ }
297306
298307 if (
299308 lt_config . run_settings . project_name &&
Original file line number Diff line number Diff line change @@ -142,6 +142,10 @@ const argv = require("yargs")
142142 alias : "legacy-peer-deps" ,
143143 describe : "force npm install" ,
144144 type : "bool" ,
145+ . option ( "vip" , {
146+ alias : "vi-project" ,
147+ describe : "visual ui project name" ,
148+ type : "string" ,
145149 } ) ;
146150 } ,
147151 function ( argv ) {
You can’t perform that action at this time.
0 commit comments