实现cmd弹窗交互 安装inquirer包 npm i inquirer 引入inquirer包 var inquirer = require('inquirer'); // console.log('Hi, welcome to Node Pizza'); var questions = [ { type: 'input', name: 'toBeDelivered'<