Skip to content

Commit e4b1bd8

Browse files
LanceXuanLi长淇
andauthored
restrict env remove (#912)
Co-authored-by: 长淇 <linanxuan.lnx@alibaba-inc.com>
1 parent 9a174ed commit e4b1bd8

4 files changed

Lines changed: 111 additions & 111 deletions

File tree

dist/index.js

Lines changed: 106 additions & 106 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: Component
22
Name: fc
33
Provider:
44
- 阿里云
5-
Version: 0.1.64
5+
Version: 0.1.65
66
Description: Basic components of Alibaba cloud functional computing
77
HomePage: https://github.com/devsapp/fc
88
Tags:

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -666,9 +666,9 @@ export default class FcBaseComponent extends EntryPublicMethod {
666666
case 'deploy':
667667
core.help(HELP.ENV_DEPLOY);
668668
return;
669-
case 'remove':
670-
core.help(HELP.ENV_REMOVE);
671-
return;
669+
// case 'remove':
670+
// core.help(HELP.ENV_REMOVE);
671+
// return;
672672
case 'info':
673673
core.help(HELP.ENV_INFO);
674674
return;

src/lib/help/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const ENV_HELP_INFO = [
2525
{ name: 'list-templates', summary: 'List all environment templates.' },
2626
{ name: 'init', summary: 'Create a new environment interactive. Help command [s env init -h]' },
2727
{ name: 'deploy', summary: 'Deploy an environment associated with templates. Help command [s env deploy -h]' },
28-
{ name: 'remove', summary: 'Destroy an environment. Help command [s env deploy -h].' },
28+
// { name: 'remove', summary: 'Destroy an environment. Help command [s env deploy -h].' },
2929
{ name: 'info', summary: 'Show the information of a environment. Help command [s env info -h]' },
3030
{ name: 'list', summary: 'List all environments associated with specified aliyun account.' },
3131
],

0 commit comments

Comments
 (0)