File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ init function.json
202
202
203
203
Flags:
204
204
--function-name= Function name for init
205
- --download-zip Download function.zip
205
+ --download Download function.zip
206
206
--jsonnet render function.json as jsonnet
207
207
--qualifier=QUALIFIER function version or alias
208
208
--function-url create function url definition file
@@ -220,7 +220,7 @@ deploy or create function
220
220
Flags:
221
221
--src="." function zip archive or src dir
222
222
--publish publish function
223
- --alias-name ="current" alias name for publish
223
+ --alias="current" alias name for publish
224
224
--alias-to-latest set alias to unpublished $LATEST version
225
225
--dry-run dry run
226
226
--skip-archive skip to create zip archive. requires Code.S3Bucket and Code.S3Key in function
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
20
20
type DeployOption struct {
21
21
Src string `help:"function zip archive or src dir" default:"."`
22
22
Publish bool `help:"publish function" default:"true"`
23
- AliasName string `help:"alias name for publish" default:"current"`
23
+ AliasName string `name:"alias" help:"alias name for publish" default:"current"`
24
24
AliasToLatest bool `help:"set alias to unpublished $LATEST version" default:"false"`
25
25
DryRun bool `help:"dry run" default:"false"`
26
26
SkipArchive bool `help:"skip to create zip archive. requires Code.S3Bucket and Code.S3Key in function definition" default:"false"`
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import (
23
23
// DiffOption represents options for Diff()
24
24
type DiffOption struct {
25
25
Src string `help:"function zip archive or src dir" default:"."`
26
- CodeSha256 bool `help:"diff of code sha256" default:"false"`
26
+ CodeSha256 bool `name:"code" help:"diff of code sha256" default:"false"`
27
27
Qualifier * string `help:"the qualifier to compare"`
28
28
FunctionURL string `help:"path to function-url definiton" default:"" env:"LAMBROLL_FUNCTION_URL"`
29
29
Ignore string `help:"ignore diff by jq query" default:""`
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
18
18
// InitOption represents options for Init()
19
19
type InitOption struct {
20
20
FunctionName * string `help:"Function name for init" required:"true" default:""`
21
- DownloadZip bool `help:"Download function.zip" default:"false"`
21
+ DownloadZip bool `name:"download" help:"Download function.zip" default:"false"`
22
22
Jsonnet bool `default:"false" help:"render function.json as jsonnet"`
23
23
Qualifier * string `help:"function version or alias"`
24
24
FunctionURL bool `help:"create function url definition file" default:"false"`
You can’t perform that action at this time.
0 commit comments