MCPcopy Create free account
hub / github.com/PaperElectron/Sundry / continuePrompt

Function continuePrompt

cli/interactive.js:125–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123}
124
125function continuePrompt(){
126 return Prompt({
127 type: 'list',
128 name: 'continue',
129 message: 'Continue or Exit?',
130 choices: [
131 {name: 'Continue', value: true},
132 {name: chalk.red('Exit'), value: false}
133
134 ]
135 }).then(function(answers){
136 if(answers){ return mainPrompt(); }
137 process.stdout.write('\033c');
138 return process.exit(0);
139 })
140};
141
142function confirmPrompt(value){
143 return Prompt({

Callers 1

mainPromptFunction · 0.85

Calls 2

PromptFunction · 0.85
mainPromptFunction · 0.85

Tested by

no test coverage detected