File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
packages/exoframe-cli/src/handlers/config Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ export const configHandler = async (args) => {
5353 if ( ! nonInteractive ) {
5454 const cfgPrompts = generateConfigPrompt ( newConfig ) ;
5555 const { prop } = await inquirer . prompt ( cfgPrompts ) ;
56+ if ( prop === 'abort' ) {
57+ console . log ( chalk . red ( 'Aborted on user request' ) ) ;
58+ return ;
59+ }
5660 // create new prompt for specific prop chosen by user
5761 const propPrompts = configPrompts [ prop ] ( newConfig ) ;
5862 const res = await inquirer . prompt ( propPrompts ) ;
Original file line number Diff line number Diff line change @@ -466,6 +466,7 @@ export const generateConfigPrompt = (config) => {
466466 name : 'prop' ,
467467 default : 'n' ,
468468 pageSize : 20 ,
469+ expanded : true ,
469470 choices,
470471 } ,
471472 ] ;
You can’t perform that action at this time.
0 commit comments