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

@cubetool/plugin-cli-plus

Package Overview
Dependencies
Maintainers
7
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubetool/plugin-cli-plus

开发者工具核心 CLI 功能增强插件

latest
npmnpm
Version
3.0.2
Version published
Weekly downloads
44
76%
Maintainers
7
Weekly downloads
 
Created
Source

cube 开发者工具核心 CLI 功能增强插件

注意:该模块是 cubetool 插件,直接使用 npm 方式安装无效。

安装

需要先安装 @cubetool/cli 以支持该插件。然后使用以下命令安装:

cubetool plugin install @cubetool/plugin-cli-plus

或者安装完 @cubetool/cli 之后直接使用以下命令自动安装该插件:

cubetool doctor

使用

该插件添加诸多子命令工具,大部分命令兼容 v1 测试版 cube 开发者工具。

cubetool init

在当前目录下初始化 cube 项目。

cubetool run

运行 cube 项目。

cubetool publish

发布 cube 项目。

# 发布 cube 到开放平台提审
cubetool publish

# 发布到指定服务器
cubetool publish -a http://example.com/path

# 附加 post 数据,比如 token
cubetool publish -d rand=abc -d token

# 设置服务器环境,方便后续可以指定服务器环境
cubetool config -p @cubetool/plugin-cli-plus publish.devtest http://dev.example.com/path
cubetool publish devtest

比如可以配合 cube-dev-preview 使用,方便发布到开放预览环境。

Keywords

cube

FAQs

Package last updated on 26 Dec 2024

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