Technical Reference · gram stage
gram stage
Stage changes to a deployment configuration.
The stage command adds sources to a deployment config that can later be passed
to gram push. These sources may include function zip files or OpenAPI
documents. If the config file doesn’t exist yet, the command creates it.
The stage command is a parent command that contains the following subcommands:
gram stage function: Stage a function zip file.gram stage openapi: Stage an OpenAPI document.
gram stage [subcommand] [subcommand options]Options
Section titled “Options”config
Section titled “config”This specifies the path to the deployment config file. Its default value is gram.deploy.json in the
current working directory.
gram stage --config ./path/to/my-gram-config.json [subcommand] [subcommand options]