wuyuedefeng / blogs

博客文章在issue中
5 stars 0 forks source link

Node 编写命令行工具 #95

Open wuyuedefeng opened 4 years ago

wuyuedefeng commented 4 years ago

commander.js: https://github.com/tj/commander.js execa: https://github.com/sindresorhus/execa 命令

Inquirer.js: https://github.com/SBoudrias/Inquirer.js 命令行交互, prompt[问答]

chalk: https://github.com/chalk/chalk kleur: https://github.com/lukeed/kleur (比chalk轻量) 美化命令行 色彩

fs-extra: https://github.com/jprichardson/node-fs-extra fs模块拓展

shelljs: https://github.com/shelljs/shelljs 运行shell命令

nunjucks:https://github.com/mozilla/nunjucks 模板字符串插入

globby: https://github.com/sindresorhus/globby node-glob: https://github.com/isaacs/node-glob 文件匹配,glob强大功能

path-to-regexp: https://github.com/pillarjs/path-to-regexp 路径/url 路径匹配, 路由匹配

SemVer: https://github.com/npm/node-semver 采用X.Y.Z 的格式版本号管理,npm包版本管理遵循该规范 内部版本(alpha):公测版本(beta):正式版本的候选版本rc: 即 Release candiate