🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@cubetool/plugin-batch

Package Overview
Dependencies
Maintainers
9
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubetool/plugin-batch

开发者工具批处理增强插件

latest
npmnpm
Version
1.1.2
Version published
Maintainers
9
Created
Source

cube 批处理工具

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

example

进入 example 目录下执行相应命令,通过修改 data.config.js 的配置批量处理。

cubetool batch -h 查看具体命令

常用操作:

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

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

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

使用方法:

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

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

  • 根目录下 cubetool batch

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

cubetool audit -h 查看具体命令

常用操作:

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

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

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

使用方法:

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

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

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

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

Keywords

cube

FAQs

Package last updated on 25 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts