ADD ENVIRONMENT

Core command ADD ENV ADDENV

Creates a new Environment

Arguments

<id> (mandatory) new Environment ID

Examples

ADD ENVIRONMENT PROD;

Notes

Creates a new Environment: ADD ENVIRONMENT <id> (docs/CONNECTION_MODEL.md §5) - the CLI equivalent of the config screen's "Environments" tab, "New" action.

id is mandatory and must not already exist - uniqueness is case-insensitive per §5.1 (PR and pr must not coexist); an ID already used by an inactive Environment is reported distinctly, pointing at EDIT ENVIRONMENT to reactivate it instead of creating a duplicate. Runs an interactive wizard prompting for Description, Production [y/n] and Comment, followed by a [y/n/c] confirmation: y saves, n restarts the wizard from the top, anything else aborts without saving.

Last modified in release 5.1.6.