Documentation
ReferenceCLICommandsenvironments

environments

List, create and delete environments, and compare or merge the settings of two of them.

envs is an alias of environments.

environments list

nulvless environments list

Lists the environments of the project, by slug and name.


environments create

nulvless environments create <slug> [--name <name>]

nulvless environments create staging --name "Staging"
<slug>Required

Identifier used in the environment URL, like staging.

--name <name>

Name shown in the console. Defaults to the slug.


environments delete

nulvless environments delete <slug>

Deletes an environment and everything in it, after confirming.

<slug>Required

Environment to delete.


environments diff

nulvless environments diff <origin> <destination>

Shows the settings a merge would change in the destination, like the console's Compare screen. Nothing changes.

nulvless environments diff staging main
<origin>Required

Environment the settings come from.

<destination>Required

Environment that would change.


environments merge

nulvless environments merge <origin> <destination> [--wait]

Copies the settings of one environment into another. Users, credentials and secrets are never copied. Asks for sudo.

nulvless environments merge staging main --wait
<origin>Required

Environment the settings come from.

<destination>Required

Environment to change.

--wait

Wait until the merge deployment finishes.

On this page