platformsh / legacy-cli

This is the legacy version of Platform.sh's command-line interface. The new version is at: https://github.com/platformsh/cli
https://docs.platform.sh/administration/cli.html
MIT License
224 stars 121 forks source link

Add a confirm step before creating a backup #1414

Closed pjcdawkins closed 4 months ago

pjcdawkins commented 4 months ago

This confirm step is added because:

The above reasons are considered to outweigh a potential, but unlikely, backwards compatibility break. Scripts may block indefinitely after this change if they erroneously run platform backup in interactive mode. The solution is to disable interactive mode by adding the flag --yes or -y or --no-interaction, or by setting the environment variable PLATFORMSH_CLI_NO_INTERACTION=1.