Skip to content

Commit b2be404

Browse files
authored
Merge pull request #428 from unfunco/fix/type-requirement
fix: add required type parameter to cli options
2 parents 7e07f71 + 0e302dd commit b2be404

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,28 @@ class ServerlessStepFunctions {
7777
usage: 'The StateMachine name',
7878
shortcut: 'n',
7979
required: true,
80+
type: 'string',
8081
},
8182
data: {
8283
usage: 'String data to be passed as an event to your step function',
8384
shortcut: 'd',
85+
type: 'string',
8486
},
8587
path: {
8688
usage:
8789
'The path to a json file with input data to be passed to the invoked step function',
8890
shortcut: 'p',
91+
type: 'string',
8992
},
9093
stage: {
9194
usage: 'Stage of the service',
9295
shortcut: 's',
96+
type: 'string',
9397
},
9498
region: {
9599
usage: 'Region of the service',
96100
shortcut: 'r',
101+
type: 'string',
97102
},
98103
},
99104
},

0 commit comments

Comments
 (0)