1.0.5 • Published 3 years ago

smart-work v1.0.5

Weekly downloads
9
License
ISC
Repository
-
Last release
3 years ago

smartwork cli

物料开发工具

特性

  • 内置多套项目模板(待增加)
  • 支持新增物料(组件、页面)
  • 后续增加(生成物料以及同步物料)

快速开始

全局安装 CLI:

$ npm i -g smart-work
$ smartwork -V
-> 1.0.0

初始化项目:

$ smartwork init <projectName>
# 选择模板
# 创建完成

更新物料集合:

$ smartwork update

查看物料集合:

$ smartwork check
# 展示物料的名称

添加物料:

$ smartwork add -c [物料名称1、名称2...]
$ smartwork add -p [物料名称1、名称2...]

( 未完成 ) 生成物料数据:

$ smartwork generate

( 未完成 ) 同步物料数据:

$ smartwork sync

待完善。。。