Acquia CLI

api:applications:environment-create

Add a new continuous delivery environment to an application by the application UUID.

For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.

Usage

acli api:applications:environment-create <applicationUuid> <label> <branch> <databases>...
acli api:applications:environment-create da1c0a8e-ff69-45db-88fc-acd6d2affbb7 "CD label" "my-feature-branch" "database1" "database2"
acli api:applications:environment-create myapp "CD label" "my-feature-branch" "database1" "database2"

Arguments

  • applicationUuid

    Required

    The entity's universally unique identifier. You may also use an application alias or omit the argument if you run the command in a linked directory.

  • label

    Required

    The new environment label.

  • branch

    Required

    The name of the branch or tag that the continuous delivery environment will have.

  • databases

    Required

    An array containing the names of the databases to add to the continuous delivery environment.

    Defaults to []

Options

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the `list` command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false

Acquia Help

Filter by product:

Common questions

If you can't find what you're looking for, try refining your search or contact our Support teamfor further assistance.