1.0.1-1 • Published 2 years ago

atm-tools v1.0.1-1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

node+commander 开发命令行工具/脚手架

生成许可证:https://developer.51cto.com/article/678299.html

目标:初始化项目模板包含:

1: 基础脚手架 2:webpack5 构建流

3:gitlab.ci.yml

4:yx-lint 代码静态检查

5:yx-doctor 代码扫描

6:yx-block 积木式工具

7:yx-widget 组件版本安装

技术选型

脚手架 = 命令 + 交互 + 逻辑处理

  • 命令
    • commander 插件提供命令注册、参数解析、执行回调
  • 交互
    • inquirer 插件用于命令行的交互(问答)
  • 逻辑处理
    • fs-extra 插件是对 nodejs 文件 Api 的进一步封装,便于使用
    • kolorist 插件用于输出颜色信息进行友好提示

参考:https://github.com/wytxer/wy-cli

https://github.com/boty-design

1.0.1-6

2 years ago

1.0.1-4

2 years ago

1.0.1-3

2 years ago

1.0.1-2

2 years ago

1.0.1-1

2 years ago