Speakeasy Logo
Skip to Content

gram stage function

Stage a Gram Function zip file in a deployment configuration.

Usage

gram stage function --slug my-gram-function --location ./path/to/function.zip

Options

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