Zuplo
Zuplo CLI

Zuplo CLI: Variable Create

Creates a new variable for a branch
TerminalCode
zuplo variable create --name <name> --value <value> --is-secret <boolean> --branch <branch> [options]

Examples

Create a secret variable for the main branch

TerminalCode
zuplo variable create --name API_KEY --value my-secret-key --is-secret true --branch main

Create a non-secret variable for the production branch

TerminalCode
zuplo variable create --name BASE_URL --value https://api.example.com --is-secret false --branch production

Explicitly specify the account and project

TerminalCode
zuplo variable create --name DB_HOST --value localhost --is-secret false --branch dev --account my-account --project my-project

Options

--name

The name of the variable to create

Type: string

--value

The value of the variable to create

Type: string

--branch

The branch where the variable should be set

Type: string

--account

The account name

Type: string

--project

The project name

Type: string

--is-secret

Is the variable a secret

Type: boolean

Global options

The following global options are available for all commands:

Additional resources

Last modified on