This package has been deprecated

Author message:

Plz install @cubetool/plugin-batch instead

@cubetool/cubetool-plugin-batch

1.0.0 • Public • Published

cube 批处理工具

该插件为 CLI 工具提供更多命令功能。迅速生成同类cube,并且快速上线。

cubetool batch -h 查看具体命令

常用操作:

  • cubetool batch online -p 对模版进行批处理后,进行发布上线操作

  • cubetool batch -w 对模版改动进行监听,并持续处理

  • cubetool batch -p 默认发到 preview 环境

使用方法:

  • 创建tpl目录(或自定义模板目录),并创建模板文件模板文件

  • 在/tpl下创建配置文件data.config.js

  • 根目录下 cubetool batch

  • 构建产物自动输出到/dist目录

示例:

下载这个目录 cubetool batch

cubetool audit -h 查看具体命令

常用操作:

  • cubetool audit [token] 批量提交审核

  • cubetool audit [token] -d 批量撤销审核中的版本

  • cubetool audit [token] -o 批量上线审核通过的版本

使用方法:

  • 根目录下执行 cubetool audit 系列命令

  • 命令会根据配置文件 data.config.js 中的配置进行批量处理

  • audit 命令通常可以在 cubetool batch 批处理结束并发布后,进行批量提交审核的操作

  • 审核通过后可通过 -o 参数批量上线

Readme

Keywords

Package Sidebar

Install

npm i @cubetool/cubetool-plugin-batch

Homepage

cube.360.com

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

11.9 kB

Total Files

5

Last publish

Collaborators

  • ntt360
  • ivershuo
  • stun
  • zhaoyan86
  • handoing
  • zeldajay
  • liuyan_12