@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.
@@ -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: 'runf',
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: 'runf',
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: 'runf',
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: 'runf',
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 [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
- runf [cmd] 云函数 2.0 服务管理操作`;
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/cli",
3
- "version": "2.6.0-pre-alpha.0",
3
+ "version": "2.6.0",
4
4
  "description": "cli tool for cloudbase",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {