@cloudbase/cli 2.6.0-pre-alpha.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/runf/base.js +4 -4
- package/lib/help.js +13 -13
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ const scfService = utils_1.CloudApiService.getInstance('tcb');
|
|
|
42
42
|
class RunfListCommand extends common_1.Command {
|
|
43
43
|
get options() {
|
|
44
44
|
return {
|
|
45
|
-
cmd: '
|
|
45
|
+
cmd: 'cloudrunfunction',
|
|
46
46
|
childCmd: 'list',
|
|
47
47
|
options: [
|
|
48
48
|
{
|
|
@@ -102,7 +102,7 @@ exports.RunfListCommand = RunfListCommand;
|
|
|
102
102
|
let RunfDeployCommand = class RunfDeployCommand extends common_1.Command {
|
|
103
103
|
get options() {
|
|
104
104
|
return {
|
|
105
|
-
cmd: '
|
|
105
|
+
cmd: 'cloudrunfunction',
|
|
106
106
|
childCmd: 'deploy',
|
|
107
107
|
options: [
|
|
108
108
|
{
|
|
@@ -287,7 +287,7 @@ exports.RunfDeployCommand = RunfDeployCommand;
|
|
|
287
287
|
let RunfDownloadCommand = class RunfDownloadCommand extends common_1.Command {
|
|
288
288
|
get options() {
|
|
289
289
|
return {
|
|
290
|
-
cmd: '
|
|
290
|
+
cmd: 'cloudrunfunction',
|
|
291
291
|
childCmd: 'download',
|
|
292
292
|
options: [
|
|
293
293
|
{
|
|
@@ -388,7 +388,7 @@ exports.RunfDownloadCommand = RunfDownloadCommand;
|
|
|
388
388
|
class RunfRunCommand extends common_1.Command {
|
|
389
389
|
get options() {
|
|
390
390
|
return {
|
|
391
|
-
cmd: '
|
|
391
|
+
cmd: 'cloudrunfunction',
|
|
392
392
|
childCmd: 'run',
|
|
393
393
|
options: [
|
|
394
394
|
{
|
package/lib/help.js
CHANGED
|
@@ -9,19 +9,19 @@ const outputHelpInfo = () => {
|
|
|
9
9
|
const commands = `
|
|
10
10
|
命令
|
|
11
11
|
|
|
12
|
-
login
|
|
13
|
-
logout
|
|
14
|
-
env
|
|
15
|
-
fn
|
|
16
|
-
framework
|
|
17
|
-
hosting
|
|
18
|
-
new
|
|
19
|
-
open
|
|
20
|
-
storage
|
|
21
|
-
service
|
|
22
|
-
run:deprecated
|
|
23
|
-
run
|
|
24
|
-
|
|
12
|
+
login [options] 登录腾讯云账号
|
|
13
|
+
logout 登出腾讯云账号
|
|
14
|
+
env [cmd] 环境管理操作
|
|
15
|
+
fn [cmd] 操作函数
|
|
16
|
+
framework [cmd] 云开发 Serverless 应用框架操作
|
|
17
|
+
hosting [cmd] 静态托管资源管理操作
|
|
18
|
+
new [appName] [template] 创建新的云开发应用
|
|
19
|
+
open [link] 在浏览器中打开云开发相关连接
|
|
20
|
+
storage [cmd] 云存储资源管理操作
|
|
21
|
+
service [cmd] HTTP 访问服务管理操作
|
|
22
|
+
run:deprecated [cmd] 云托管环境管理操作 (BAAS 或 RUN 类型环境)
|
|
23
|
+
run [cmd] 云托管环境管理操作 (TCBR 类型环境)
|
|
24
|
+
cloudrunfunction [cmd] 云函数 2.0 服务管理操作`;
|
|
25
25
|
const options = `
|
|
26
26
|
选项
|
|
27
27
|
|