Skip to content

Commit 257bd7b

Browse files
authored
Define types of jetpack options (#206)
serverless v3 will require plugins to define types for their options https://www.serverless.com/framework/docs/deprecations#cli-options-extensions-type-requirement
1 parent 169a728 commit 257bd7b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,13 @@ class Jetpack {
9494
options: {
9595
"function": {
9696
usage: "Function name. Packages a single function (see 'deploy function')",
97-
shortcut: "f"
97+
shortcut: "f",
98+
type: "string"
9899
},
99100
report: {
100101
usage: "Generate full bundle report",
101-
shortcut: "r"
102+
shortcut: "r",
103+
type: "boolean"
102104
}
103105
}
104106
}

0 commit comments

Comments
 (0)