@geek-fun/serverlessinsight 0.5.0 → 0.5.1

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geek-fun/serverlessinsight",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Full life cycle cross providers serverless application management for your fast-growing business.",
5
5
  "homepage": "https://serverlessinsight.geekfun.club",
6
6
  "main": "dist/src/index.js",
@@ -133,15 +133,17 @@ program
133
133
  program
134
134
  .command('destroy <stackName>')
135
135
  .option('-f, --file <path>', 'specify the yaml file')
136
+ .option('-s, --stage <stage>', 'specify the stage')
136
137
  .option('-r, --region <region>', 'specify the region')
137
138
  .option('-v, --provider <provider>', 'specify the provider')
138
139
  .option('-k, --accessKeyId <accessKeyId>', 'specify the AccessKeyId')
139
140
  .option('-x, --accessKeySecret <accessKeySecret>', 'specify the AccessKeySecret')
140
141
  .option('-n, --securityToken <securityToken>', 'specify the SecurityToken')
141
142
  .description('destroy serverless stack')
142
- .action(actionWrapper('destroy', async (stackName, { file, region, provider, accessKeyId, accessKeySecret, securityToken }) => {
143
+ .action(actionWrapper('destroy', async (stackName, { file, stage, region, provider, accessKeyId, accessKeySecret, securityToken }) => {
143
144
  await (0, destroy_1.destroyStack)(stackName, {
144
145
  location: file,
146
+ stage,
145
147
  region,
146
148
  provider,
147
149
  accessKeyId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geek-fun/serverlessinsight",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Full life cycle cross providers serverless application management for your fast-growing business.",
5
5
  "homepage": "https://serverlessinsight.geekfun.club",
6
6
  "main": "dist/src/index.js",