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
221 stars 120 forks source link

Support "resources" in the environment:sync (sync) command #1401

Closed pjcdawkins closed 7 months ago

pjcdawkins commented 8 months ago

Part of #1384

Test for Upsun with:

# Download Upsun config
curl -s https://raw.githubusercontent.com/platformsh/cli/main/internal/config/upsun-cli.yaml > /tmp/upsun-cli.yaml

# Download the build for this PR
curl -s https://pr-1401-e7q4ara-mpaw4nkgdwaea.eu-2.platformsh.site/platform.phar > /tmp/platform-pr-1401.phar

# Create an alias
alias upsun='CLI_CONFIG_FILE=/tmp/upsun-cli.yaml php /tmp/platform-pr-1401.phar'

# Run the sync command
upsun sync