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
| Argument | Required | Values | Default |
|---|---|---|---|
<id> | Yes | The ID of an Environment, active or inactive, in any case | None |
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]:yoryesmarks it as a production Environment, any other answer does not;- the Comment, kept or changed;
Active [y/n]:yoryesmakes 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.
Related
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.