bao-wh
v1.0.6
Published
```js #!/usr/bin/env node const { program } = require("commander"); const inquirer=require("inquirer"); program.command("create") .description("创建") .action((dir)=>{ console.log("喊喊"); inquirer.prompt([ { message:"Ca
Downloads
3
Readme
#!/usr/bin/env node
const { program } = require("commander");
const inquirer=require("inquirer");
program.command("create")
.description("创建")
.action((dir)=>{
console.log("喊喊");
inquirer.prompt([
{
message:"Can you speck chinese?",
name:"Can",
default:"y/n",
},{
message:"Do you like me?",
name:"Like",
default:"y/n",
},{
message:"what are you doing?",
name:"go home",
default:"go home/go to school",
},{
message:"she is talents?",
name:"talents",
default:"y/n",
},{
message:"he is so good?",
name:"yes",
default:"y/n",
},{
message:"Do you like music?",
name:"music",
default:"Yes/No",
},{
message:"If you want recess?",
name:"resecss",
default:"yes/no",
},{
message:"Do you know BLACKPINK?",
name:"bink",
default:"yes i like/no",
},
]).then(res=>{
console.log(res);
})
})
program.version("1.0.0");
program.parse(program.argv);