US-133320M1:fcli shuai.chang$ ./bundles/fcli-darwin-10.6-amd64 function create --help
Create function
Usage:
fcli function create [flags]
Aliases:
create, c
Flags:
--ca-port int32 args of custom container config
-b, --code-bucket string oss bucket of the code
-d, --code-dir string function code directory. If both code-file and code-dir are provided, code-file will be used.
--code-file string zipped code file. If both code-file and code-dir are provided, code-file will be used.
-o, --code-object string oss object of the code
-r, --custom-container-args string custom container config args, e.g. ["server.js"]
-n, --custom-container-command string custom container config command, e.g. ["node"]
-g, --custom-container-image string custom container config image
--description string brief description
--env stringArray set environment variables. e.g. --env VAR1=val1 --env VAR2=val2
--env-file stringArray read in a file of environment variables. e.g. --env-file FILE1 --env-file FILE2
-f, --function-name string the function name
-h, --handler string handler is the entrypoint for the function execution
--help
-e, --initializationTimeout int32 timeout in seconds (default 30)
-i, --initializer string initializer is the entrypoint for the initializer execution
-m, --memory int32 memory size in MB (default 128)
-t, --runtime string function runtime
-s, --service-name string the service name
--timeout int32 timeout in seconds (default 30)
US-133320M1:fcli shuai.chang$ ./bundles/fcli-darwin-10.6-amd64 function update --help
Update function attributes
Usage:
fcli function update [option] [flags]
Aliases:
update, u
Flags:
-b, --bucket string oss code bucket
--ca-port int32 args of custom container config (default 9000)
--code-dir string function code directory. If both code-file and code-dir are provided, code-file will be used.
--code-file string zipped code file. If both code-file and code-dir are provided, code-file will be used.
-r, --custom-container-args string custom container config args, e.g. ["server.js"]
-n, --custom-container-command string custom container config command, e.g. ["node"]
-g, --custom-container-image string custom container config image
-d, --description string function description
--env stringArray set environment variables. e.g. --env VAR1=val1 --env VAR2=val2
--env-file stringArray read in a file of environment variables. e.g. --env-file FILE1 --env-file FILE2
--etag string provide etag to do the conditional update. If the specified etag does not match the function's, the update will fail.
-f, --function-name string the function name
-h, --handler string function handler
--help Print Usage
-e, --initializationTimeout int32 initializer timeout in seconds
-i, --initializer string function initializer
-o, --object string oss code object
-t, --runtime string function runtime
-s, --service-name string the service name
--timeout int32 function timeout in seconds
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
shuai.chang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it.