prefect variable

prefect variable [OPTIONS] COMMAND [ARGS]...

Manage variables.

prefect variable ls

prefect variable ls [OPTIONS]

List variables.

--limit

The maximum number of variables to return.

prefect variable inspect

prefect variable inspect [OPTIONS] NAME

View details about a variable.

NAME
string
required

[required]

prefect variable get

prefect variable get [OPTIONS] NAME

Get a variable’s value.

NAME
string
required

[required]

prefect variable set

prefect variable set [OPTIONS] NAME VALUE

Set a variable.

If the variable already exists, use `—overwrite` to update it.

NAME
string
required

[required]

VALUE
string
required

[required]

--overwrite

Overwrite the variable if it already exists.

--tag

Tag to associate with the variable.

prefect variable unset

prefect variable unset [OPTIONS] NAME

Unset a variable.

NAME
string
required

[required]

prefect variable delete

prefect variable delete [OPTIONS] NAME

Unset a variable.

NAME
string
required

[required]