craftr env write

Write a single environment variable. The value is JSON-parsed if it is a valid scalar, otherwise stored as a string.

Usage

craftr env write <env> <key> <value> [--api <api>]

Flags

FlagDescription
--api-aAPI slug.

Examples

craftr env write dev baseUrl https://petstore3.swagger.io/api/v3

See also