hzd-520exam

1.0.0 • Public • Published
#!/usr/bin/env node

const commander=require("commander");
const inquirer=require("inquirer");
const axios =require("axios");

const question=[
    {
        type:"input",
        message:"请输入您的星座",
        name:"star"
    }
]

commander.command("init").action(()=>{
    inquirer.prompt(question).then(res=>{
        console.log(res.star);
    })
})

commander.parse(process.argv);

Readme

Keywords

none

Package Sidebar

Install

npm i hzd-520exam

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.25 kB

Total Files

3

Last publish

Collaborators

  • hzdnpmzh