On this page

EDIT ENVIRONMENT

Core command EDIT ENV EDENV

Changes an Environment, its Production flag, or reactivates it, through an interactive wizard.

Syntax

EDIT ENVIRONMENT <id>

Arguments

ArgumentRequiredValuesDefault
<id>YesThe ID of an Environment, active or inactive, in any caseNone

Examples

EDIT ENVIRONMENT PROD;

Details

The wizard

The Environment may be active or inactive; its ID is matched ignoring case. The command shows the current Description and asks whether to keep it, then asks:

  • Production [y/n]: y or yes marks it as a production Environment, any other answer does not;
  • the Comment, kept or changed;
  • Active [y/n]: y or yes makes it active, any other answer inactive. This is how an inactive Environment is reactivated from the command line.

It ends with Save Environment [y/n/c]?: y saves, n starts again, and any other answer stops without saving.

Rules

  • An Environment cannot be made inactive while a connection, active or inactive, uses it, nor when it is the last active Environment, as with DEL ENVIRONMENT.
  • The ID never changes: it keeps the case it was created with, whatever case you type.

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.