fun functions upload

Upload a new version of a function

Synopsis

This command uploads a WASM binary blob to a function, replacing the current version of the code with the newly uploaded file. The function name specified is the one locally associated with it. The context used is the one associated with the function, unless the context is passed through environment variables, or the –context option is explicitly specified.

fun functions upload [name] [path/to/file] [flags]

Options

      --context string   context (default "default")
  -h, --help             help for upload

Options inherited from parent commands

      --config string   config directory

SEE ALSO