Socket
Book a DemoInstallSign in
Socket

@sumor/cli

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sumor/cli

轻呈云命令行工具

npmnpm
Version
17.0.18
Version published
Weekly downloads
2
-50%
Maintainers
1
Weekly downloads
 
Created
Source

@sumor/cli

轻呈云命令行工具

安装

通过 npm 安装:

$ npm install --save @sumor/cli

使用说明

ES6方式

//例如要访问的程序路径为level1.level2.level3
import {level1} from '@sumor/cli';

level1.level2.level3('parameter1');

Node.js CommonJS方式

//例如要访问的程序路径为level1.level2.level3
const {level1} = require('@sumor/cli');

level1.level2.level3('parameter1');

命令行访问方式

开发

sumor dev

通过开发命令,将启动本地开发环境,在代码变更后,将实时看到更新结果。

发布

sumor publish

通过发布命令,将打包并发布代码到包管理器

部署

sumor deploy

通过部署命令,将根据定义的scope,部署对应的应用到服务器,并保持证书更新,实例异常通知及重启,动态扩展实例数量等

查看日志

sumor logs

通过日志命令,可以获取运行日志

接口文档

FAQs

Package last updated on 28 Mar 2021

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