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 mention about disk size when syncing 2 environments #1373

Open nicogommen opened 6 months ago

nicogommen commented 6 months ago

When doing a sync between 2 environments with the CLI. If:

We should add some wording before the confirmation question to mention that the disk size might be synced too:

Replacing data will also sync the disk size if {target-env} has a lower disk size. This will ensure enough disk to complete the sync.

For instance, when doing upsun sync -e staging data on a project, we would show something like this:

Replacing data will also sync the disk size if staging has a lower disk size. This will ensure enough disk to complete the sync.
Are you sure you want to synchronize data from main to staging? [Y/n]