gram stage function
Stage a Gram Function zip file in a deployment configuration.
For more information on the base behavior of the gram stage command, see the
gram stage reference.
Usage
gram stage function --slug my-gram-function --location ./path/to/function.zipOptions
slug (Required)
Slug to identify the source.
gram stage function --slug my-gram-function [command options]location (Required)
Location to a zip file containing Gram Functions code. This can be a local file or a URL.
gram stage function --location ./path/to/function.zip [command options]name
Human-readable name for the source.
gram stage function --name "My Gram Function" [command options]runtime
Runtime environment for the function. (default: “nodejs:22”)
gram stage function --runtime nodejs:22 [command options]Last updated on