// const prompList = [
// {
// type:'input',
// message:'姓名',
// name:'name'
// },{
// type:'input',
// message:'手机号',
// name:'phone',
// validate:val=>{
// if(val.match(/\d{11}/g)){
// return true
// }
// return '请输入11位数字'
// }
// },{
// type:'confirm',
// message:'是否参加本次考核?',
// name:'assess',
// prefix:'前缀'
// },{
// type:'confirm',
// message:'是否同意本次考核须知?',
// name:'notice',
// suffix:'后缀',
// when:answers=>{
// return answers.assess
// }
// },{
// type:'list',
// message:'欢迎来到本次考核,请选择学历:',
// name:'eductionBg',
// choices:[
// "大专",
// "本科",
// "本科以上"
// ],
// filter:val=>{//将选择的内容后面加学历
// return val+'学历'
// }
// },{
// type:'rawlist',
// message:'请选择你爱玩的游戏:',
// name:'game',
// choices:[
// "LOL",
// "DOTA",
// "PUBG"
// ]
// },{
// type:'expand',
// message:'请选择你喜欢的水果:',
// name:'fruit',
// choices: [
// {
// key: "a",
// name: "Apple",
// value: "apple"
// },
// {
// key: "O",
// name: "Orange",
// value: "orange"
// },
// {
// key: "p",
// name: "Pear",
// value: "pear"
// }
// ]
// },{
// type:'checkbox',
// message:'请选择你喜欢的颜色:',
// name:'color',
// choices:[
// {
// name: "red"
// },
// new inquirer.Separator(), // 添加分隔符
// {
// name: "blur",
// checked: true // 默认选中
// },
// {
// name: "green"
// },
// new inquirer.Separator("--- 分隔符 ---"), // 自定义分隔符
// {
// name: "yellow"
// }
// ]
// },{
// type:'password',
// message:'请输入你的游戏密码:',
// name:'pwd'
// }
// ]
hwx-cli's Introduction
hwx-cli's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.