cc env

Manage environments for a project.

Usage

cc env [action] [target]

Actions

Action
Description

list (default)

List environments for the active project

add

Add a new environment to a project

remove

Remove an environment

edit

Edit an existing environment

Examples

cc env                      # list environments for active project
cc env list acme            # list environments for 'acme'
cc env add acme             # add a new environment to 'acme'
cc env remove               # interactive picker to remove an environment
cc env edit                 # interactive picker to edit an environment

Edit Options

When editing an environment, you can update:

  • Name — rename the environment

  • Database — change the linked PostgreSQL database

  • Modules — update the module list (used for -u in launch config)

Last updated

Was this helpful?