Synopsis
Examples
Setting variables
Setting a variable from a file
Setting variables from a file is a convenient way to set complex variables that contain spaces, newlines, or other special characters.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Usage:
aptible config:set VAR=VALUE ... [flags]
Flags:
--app string App handle
-e, --env string Environment handle (alias)
--environment string Environment handle
aptible config:set --app "$APP_HANDLE" \
VARIABLE_1=VALUE_1 \
VARIABLE_2=VALUE_2
# This will read file.txt and set it as VARIABLE
aptible config:set --app "$APP_HANDLE" \
"VARIABLE=$(cat file.txt)"
Get-Content with the -Raw option to preserve newlines.aptible config:set --app "$APP_HANDLE" \
VARIABLE=$(Get-Content file.txt -Raw)
aptible config:set --app "$APP_HANDLE" \
VARIABLE=
Was this page helpful?
