()
| 289 | } |
| 290 | |
| 291 | function requestCommand() { |
| 292 | readlineInterface.question('', async (command) => { |
| 293 | if (command === 'exit') { |
| 294 | readlineInterface.close(); |
| 295 | return; |
| 296 | } |
| 297 | |
| 298 | await handleCommand(command); |
| 299 | |
| 300 | requestCommand(); |
| 301 | }); |
| 302 | } |
| 303 | |
| 304 | showHelp(); |
| 305 |