serverless-step-functions
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -34,3 +34,3 @@ 'use strict'; | ||
stepf: { | ||
usage: 'Deploy the State Machine of Step functions', | ||
usage: 'Deploy the State Machine Step functions', | ||
lifecycleEvents: [ | ||
@@ -51,3 +51,3 @@ 'deploy', | ||
activities: { | ||
usage: 'Deploy the activities of Step functions', | ||
usage: 'Deploy Step function Tasks', | ||
lifecycleEvents: [ | ||
@@ -72,3 +72,3 @@ 'deploy', | ||
statemachines: { | ||
usage: 'Deploy the StateMachines of Step functions', | ||
usage: 'Deploy Step function StateMachines', | ||
lifecycleEvents: [ | ||
@@ -115,3 +115,3 @@ 'deploy', | ||
activities: { | ||
usage: 'Remove the activities of Step functions', | ||
usage: 'Remove Step function Tasks', | ||
lifecycleEvents: [ | ||
@@ -136,3 +136,3 @@ 'remove', | ||
statemachines: { | ||
usage: 'Remove the StateMachines of Step functions', | ||
usage: 'Remove Step function StateMachines', | ||
lifecycleEvents: [ | ||
@@ -367,3 +367,3 @@ 'remove', | ||
this.serverless.cli.consoleLog(''); | ||
this.serverless.cli.log(`Finish to deploy ${this.options.name} step function`); | ||
this.serverless.cli.log(`Finish deployment of the ${this.options.name} step function`); | ||
let message = ''; | ||
@@ -381,3 +381,3 @@ message += `${chalk.yellow.underline('Service Information')}\n`; | ||
} | ||
this.serverless.cli.log('Start to deploy all stateMachines of Step Functions...'); | ||
this.serverless.cli.log('Start deployment of all Step function StateMachines...'); | ||
return BbPromise.bind(this) | ||
@@ -451,2 +451,3 @@ .then(this.yamlParse) | ||
.executionFailedEventDetails); | ||
process.exitCode = 1; | ||
}); | ||
@@ -453,0 +454,0 @@ } |
{ | ||
"name": "serverless-step-functions", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "The module is AWS Step Functions plugin for Serverless Framework", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -101,3 +101,3 @@ [![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com) [![Build Status](https://travis-ci.org/horike37/serverless-step-functions.svg?branch=master)](https://travis-ci.org/horike37/serverless-step-functions) [![npm version](https://badge.fury.io/js/serverless-step-functions.svg)](https://badge.fury.io/js/serverless-step-functions) [![Coverage Status](https://coveralls.io/repos/github/horike37/serverless-step-functions/badge.svg?branch=master)](https://coveralls.io/github/horike37/serverless-step-functions?branch=master) [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) | ||
- --state or -t The name of the step function in your service that you want to invoke. Required. | ||
- --name or -n The name of the step function in your service that you want to invoke. Required. | ||
- --stage or -s The stage in your service you want to invoke your step function. | ||
@@ -108,3 +108,3 @@ - --region or -r The region in your stage that you want to invoke your step function. | ||
``` | ||
$ sls invoke stepf --state <stepfunctionname> --data '{"foo":"bar"}' | ||
$ sls invoke stepf --name <stepfunctionname> --data '{"foo":"bar"}' | ||
``` | ||
@@ -135,3 +135,3 @@ | ||
``` | ||
$ sls remove stepf --state <stepfunctionname> | ||
$ sls remove stepf --name <stepfunctionname> | ||
``` | ||
@@ -141,3 +141,3 @@ | ||
- --state or -t The name of the step function in your service that you want to remove. Required. | ||
- --name or -n The name of the step function in your service that you want to remove. Required. | ||
- --stage or -s The stage in your service you want to invoke your step remove. | ||
@@ -144,0 +144,0 @@ - --region or -r The region in your stage that you want to invoke your step remove. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2699
124975